home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / FAQs / netfaqs / postscript-faq / text0000.txt < prev   
Encoding:
Text File  |  1994-08-02  |  137.6 KB  |  3,573 lines

  1. Archive-name: postscript/faq/part1-4
  2. Last-modified: 1993/12/26
  3. Version: 2.2
  4.  
  5.                               -- PostScript -- 
  6.  
  7.                             Answers to Questions 
  8.  
  9.                     (the comp.lang.postscript FAQ v2.2) 
  10.  
  11.                                Jon Monsarrat 
  12.  
  13.                               jgm@cs.brown.edu 
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                      This FAQ is formatted as a digest. 
  21.  
  22.                 Most news readers can skip from one question 
  23.  
  24.                      to the next by pressing control-G. 
  25.  
  26.  
  27.     Changes since the last version are marked with a '|' in the table 
  28.     of contents and in the sections in the text-only format of the FAQ. 
  29.  
  30.     Now that there is Linux and NetBSD and BSD 386 UNIX IBM PC (and 
  31.     clone) users can run any of the X-windows and UNIX programs in the 
  32.     utilities section. See comp.os.linux. Also, there is now 
  33.     GhostScript for the Macintosh. 
  34.  
  35.     Many thanks to Dan Carrigan for reformatting the books and 
  36.     publishers section. 
  37.  
  38.     The utilities index from the comp.sources.postscript FAQ will be 
  39.     posted in comp.lang.postscript now too. 
  40.  
  41.     Please help fix the FAQ! All comments should be mailed to 
  42.     jgm@cs.brown.edu. My favorite way to receive a change suggestion is 
  43.     when it is accompanied by a section of the FAQ that is edited and 
  44.     mailed to me verbatim as an example. If you would like to 
  45.     contribute, please read the section ``about the FAQ'' first. Thank 
  46.     you! 
  47.  
  48.     Books and programs are referred to by name only. See the book 
  49.     sections for book information, and the comp.sources.postscript FAQ 
  50.     for a full list of all PostScript related programs. I have archived 
  51.     a number of the small utilities in 
  52.     wilma.cs.brown.edu:pub/postscript. You can get the 
  53.     comp.sources.postscript FAQ from 
  54.     wilma.cs.brown.edu:pub/comp.sources.postscript. 
  55.  
  56.     Related FAQs: comp.text, comp.text.tex, comp.fonts, comp.graphics, 
  57.     comp.sys.mac.apps, comp.sources.postscript. 
  58.  
  59.     Table of Contents 
  60.  
  61.  
  62.     This FAQ has 11 sections. It is available by anonymous ftp to 
  63.     wilma.cs.brown.edu:pub/comp.lang.postscript/FAQ.txt in ASCII, and 
  64.     there are also LaTeX, DVI, and PostScript formats. 
  65.  
  66.   
  67.          1 General Questions 
  68. |           1.1 What is PostScript? 
  69.             1.2 How can I tell how many pages my document will have? 
  70.             1.3 How can I print just one page or a few pages from a big 
  71.             1.4 How can I print more than one page per sheet of paper? 
  72. |           1.5 How can I edit a PostScript picture? 
  73.             1.6 How can I print PostScript on a non-PostScript printer? 
  74. |           1.7 How do I print a file containing 8-bit characters? 
  75.             1.8 What other graphics languages are there? 
  76.          2 Printers 
  77.             2.1 How can I get my printer to talk back to me? 
  78. |           2.2 Should I leave my printer on? 
  79. |           2.3 How do you print double-sided on a single-sided printer? 
  80.             2.4 How do I suppress the power-on start page? 
  81.             2.5 How do I make a downloaded font ``persistent''? 
  82.             2.6 How do I remove a persistent (``permanent'') downloaded font? 
  83.             2.7 How do I reset the printer without power-cycling? 
  84.             2.8 About saving files 
  85. |           2.9 What's the control-D business? 
  86.             2.10 Why does the printer say ``still busy'' when my document is 
  87.             2.11 How should I set up my spoolers? 
  88. |           2.12 What are PPD files? 
  89. |           2.13 What's a timeout error? 
  90.          3 Formats and Conversions 
  91.             3.1 How can I convert PostScript to some other graphics format? 
  92. |           3.2 How can I convert HPGL to PostScript? 
  93.             3.3 How can I convert DVI to PostScript? 
  94.             3.4 How can I convert HP Laserjet language (PCL) to PostScript? 
  95.             3.5 How can I convert TeX PK format font to PostScript? 
  96.             3.6 How do I embed PostScript into troff? 
  97.             3.7 How do I embed PostScript into LaTeX or TeX? 
  98.             3.8 How can I convert an image to PostScript? 
  99.             3.9 How can I convert ASCII text to PostScript? 
  100.             3.10 How can I convert PostScript to ASCII? 
  101. |           3.11 How do I convert between PFB, PFA, Mac, PFM, and AFM? 
  102.          4 Fonts 
  103. |           4.1 What are .PFB and .PFA files? 
  104. |           4.2 How does Macintosh Store PostScript Fonts? 
  105.             4.3 How can I convert a PostScript font to TeX's PK format? 
  106.             4.4 Why are Adobe fonts hidden? 
  107.             4.5 How do I get bitmap representations of Adobe fonts? 
  108.             4.6 What are some good ftp sites for fonts? 
  109.             4.7 How can I re-encode a font? 
  110.             4.8 What's the difference between a Type 1 and a Type 3 font? 
  111. |           4.9 What vendors sell fonts for PostScript printers? 
  112.             4.10 What are ATM fonts? 
  113.             4.11 What are Multiple Master Fonts? 
  114.             4.12 Do I need a Level Two printer to use Multiple Master Fonts? 
  115.             4.13 What are Type 4 fonts? 
  116.             4.14 What are Type 5 fonts? 
  117.             4.15 Is there an editor for Type 1 Fonts? 
  118.          5 Books 
  119.             5.1 Books 
  120.             5.2 Publishers 
  121.          6 About Adobe 
  122.             6.1 How do I get in touch with Adobe? 
  123.             6.2 What can Adobe do for me? 
  124.          7 Programming in PostScript 
  125.             7.1 What is PostScript level 2? 
  126.             7.2 Should I learn level 2 PostScript? 
  127.             7.3 Where can I find examples of PostScript code? 
  128.             7.4 What is the physical size of the page? 
  129.             7.5 What is the Imagable Area of the page 
  130.             7.6 Why can't I do a pathforall after a charpath ? 
  131.             7.7 How do I center a string of text around a point? 
  132.             7.8 How can I concatenate two strings together? 
  133.             7.9 What do I do when I get stack overflow/underflow? 
  134.             7.10 How can I print in landscape mode? 
  135.          8 Computer-specific PostScript 
  136.             8.1 Sun Workstations 
  137.             8.2 IBM PC 
  138.             8.3 Apple Macintosh 
  139.          9 Encapsulated PostScript 
  140.             9.1 What is Encapsulated PostScript? 
  141.             9.2 What are EPSI and EPSF? 
  142.             9.3 How do I convert PostScript to EPS? 
  143.             9.4 How do I get the bounding box of a PostScript picture? 
  144.          10 About The Comp.Lang.PostScript FAQ (and Usenet Guide to 
  145.             10.1 The PostScript FAQ: What is it? 
  146.             10.2 How to get the FAQ files 
  147.             10.3 How to write a FAQ answer 
  148.             10.4 The FAQ can contain LaTeX and PostScript inserts 
  149.             10.5 Revising the FAQ 
  150.             10.6 How to submit new information 
  151.             10.7 How to add a program description to the FAQ index 
  152.             10.8 How to add a book description to the FAQ 
  153.             10.9 Questions that need answers 
  154.          11 About PostScript 2 
  155.             11.1 What printers support Level 2 PostScript? 
  156.             11.2 What is PostScript Level 2? 
  157.             11.3 [ Color Extensions ] 
  158.             11.4 [ Composite Font Extensions ] 
  159.             11.5 [ Display PostScript Extensions ] 
  160.             11.6 [ Overview of Level 2 Features ] 
  161.             11.7 Filters 
  162.             11.8 Binary Encoding 
  163.             11.9 Optimized graphics operators 
  164.             11.10 Optimized text operators 
  165.             11.11 Forms 
  166.             11.12 Patterns 
  167.             11.13 Images 
  168.             11.14 Composite Fonts 
  169.             11.15 New Color Spaces 
  170.             11.16 New screening/halftoning technology 
  171.             11.17 Improved printer support features 
  172.             11.18 Interpreter parameters 
  173.             11.19 Resources 
  174.             11.20 Dictionaries 
  175.             11.21 When did Level 2 products come available? 
  176.             11.22 Are Level 1 and Level 2 implementations compatible? 
  177.   
  178.  
  179.  
  180. Subject: 1 General Questions
  181.  
  182.  
  183. Subject: 1.1 What is PostScript? 
  184.  
  185.     PostScript is a page description programming language. 
  186.  
  187.     It is perhaps the most versatile and loved language for printers, 
  188.     being used in printers world-wide. It is capable of drawing to 
  189.     computer screens and any kind of drawing device. PostScript is 
  190.     interpreted, stack based and has latent typing. It somewhat 
  191.     resembles the computer language FORTH. 
  192.  
  193.     A number of programmers write PostScript programs directly for a 
  194. |   variety of drawing applications. The NeXTSTEP Operating System, 
  195. |   running on Intel-486 and Motorola machines, uses Display 
  196. |   PostScript Level II to manage the display. However, PostScript 
  197.     programs are usually documents meant to be printed that have been 
  198.     generated by a program written in some compiled language. 
  199.  
  200.  
  201. Subject: 1.2 How can I tell how many pages my document will have? 
  202.  
  203.     The easiest way to count pages is view your document on-line with a 
  204.     PostScript previewer. Some previewers like Ghostview and GSPreview 
  205.     count the pages for you. (See the comp.sources.postscript FAQ, 
  206.     which has a section ``PostScript Interpreters and Utilities''.) 
  207.  
  208.     If your document is generated by a program compliant with the 
  209.     Document Structuring Conventions, you should be able to just count 
  210.     the number of ``%%Page:'' comments imbedded in the document. 
  211.     With UNIX you can type 
  212.   
  213.   grep -c %%Page: document.ps
  214.   
  215.     to do this counting. (See Section 9, ``Encapsulated PostScript''.) 
  216.  
  217.     The only completely reliable way to count pages is to ask the 
  218.     printer after the job is printed. PostScript printers maintain a 
  219.     page counter that can be queried before and and after the job is 
  220.     printed, and the page count is a simple subtraction. This tends to 
  221.     require rather sophisticated spooling systems and a communications 
  222.     channel that is bidirectional. However, some printers allow you to 
  223.     submit jobs on one port, and issue queries on another. 
  224.  
  225.     Send this PostScript through a bidirectional I/O port and you'll 
  226.     get back the page count, nominally the total number of pages 
  227.     printed since manufacture: 
  228.  
  229.     statusdict begin pagecount == end flush 
  230.  
  231.     Experts using a level 2 printer can use the SerialOff.PS and 
  232.     SerialEHandlder.ps programs to communicate bidirectionally to the 
  233.     printer. 
  234.  
  235.  
  236. Subject: 1.3 How can I print just one page or a few pages from a big 
  237.     document? How can I print pages in reverse order? 
  238.  
  239.     Try using a host-specific program, like the UNIX command psrev, 
  240.     which is part of the TranScript suite of software from Adobe 
  241.     Systems. Or use the more general utilities Ghostview, psutils or 
  242.     psxlate. 
  243.  
  244.     There is no guarantee that a given PostScript document can be split 
  245.     in such a manner. The reason is that some programs which generate 
  246.     PostScript code don't conform to the Adobe Document Structuring 
  247.     Conventions (DSC). (See Section 9, ``Encapsulated PostScript''.) A 
  248.     notable example of this is Microsoft Word. 
  249.  
  250.  
  251. Subject: 1.4 How can I print more than one page per sheet of paper? 
  252.  
  253.     Use psnup or pstext or enscript. 
  254.  
  255.     These programs redefine the PostScript ``showpage'' command to do 
  256.     multiple PostScript pages per physical page. If one program doesn't 
  257.     work with a complex document, try out other ones. 
  258.  
  259.     Some PostScript programs can't work with these programs because 
  260.     they break the EPS conventions (See Section 9, ``Encapsulated 
  261.     PostScript''.). The reason is that some Postscript operators (such 
  262.     as initgraphics, the list is in the Red book) change the printer 
  263.     state so "violently", that software trying to do things like n-up 
  264.     will get confused. Theoretically, an EPS shouldn't have any of 
  265.     these operators, but it may not really be an EPS, or there may be a 
  266.     weird interaction between TeX, the EPS and the inclusion mechanism 
  267.     that breaks psnup. 
  268.  
  269.  
  270. Subject: 1.5 How can I edit a PostScript picture? 
  271.  
  272.     If you know the PostScript programming language, just use any text 
  273.     editor to edit the code directly. 
  274.  
  275.     If you want to do it visually, you can use Canvas on the Macintosh. 
  276. |   Arts Letters software package from Computer Support Corporation is 
  277. |   supposed to be able to read arbitrary EPS files, using a software 
  278. |   converter called Decipher. Also, Island Graphics has a trio of 
  279. |   software packages called, appropriately, Island Draw/Paint/Write. 
  280. |   This is also supposed to include a full-blown PostScript 
  281. |   interpreter, and be able to read and edit arbitrary PostScript 
  282. |   files. 
  283.  
  284.  
  285. Subject: 1.6 How can I print PostScript on a non-PostScript printer? 
  286.  
  287.     You need a tool that converts to something that your printer knows 
  288.     how to print. Use Freedom of Press, GhostScript, pageview, TScript, 
  289.     or UltraScript PC. Or, use a printer cartridge if your printer 
  290.     manufacturer sells one. 
  291.  
  292.  
  293. Subject: 1.7 How do I print a file containing 8-bit characters? 
  294.  
  295. |   If you only have Transcript you just don't. Transcript uses 
  296. |   "enscript" to convert a "text" file to a PostScript file and 
  297. |   "enscript" is not able to deal with 8-bit characters. 
  298. |
  299. |   You have to use one of the many programs that convert text to 
  300. |   PostScript, like a2ps, which not only handles the 8-bit characters 
  301. |   in a very nice way using the standard ISO Latin 1 character 
  302. |   encoding, but it also produces outputs in a series of very well 
  303. |   set, nice an paper saving formats, much nicer than the ones 
  304. |   produced by enscript. 
  305.  
  306.  
  307. Subject: 1.8 What other graphics languages are there? 
  308.  
  309.     HPGL is for pen plotters. PCL is for HP Laser printers (and 
  310.     compatibles). Both are by HP, and PCL5 is supposed to allow 
  311.     inclusion of HPGL commands, preceded by an appropriate escape code, 
  312.     however I have found this to give errors and abort even for simple 
  313.     HPGL code that plots fine on a plotter. 
  314.  
  315. Subject: 2 Printers 
  316.  
  317.  
  318. Subject: 2.1 How can I get my printer to talk back to me? 
  319.  
  320.     Experts using a level 2 printer can use the SerialOff.PS and 
  321.     SerialEHandlder.ps programs to communicate bidirectionally to the 
  322.     printer. 
  323.  
  324.     If you just need the error returns from the printer, you can spawn 
  325.     a 
  326.   
  327.   cat < port >> logfile&
  328.   
  329.     in your system startup. Then you will get a log of everything the 
  330.     printer says. This works on any serial-port connected printer. 
  331.  
  332.  
  333. Subject: 2.2 Should I leave my printer on? 
  334.  
  335. |   Most laser printers consume several hundred watts while idle in 
  336. |   order to keep the fuser warm. A few models shut down automatically 
  337. |   after a while, and this feature seems to be the wave of the future. 
  338. |
  339. |   Wear-and-tear due to power cycling is no longer the problem it once 
  340. |   was. The advice in the FAQ would have been appropriate in the 
  341. |   1970s, but no longer. A good modern rule of thumb is to turn off 
  342. |   electronic equipment if it won't be used for a few hours (overnight 
  343. |   or weekends), otherwise to leave it on. 
  344.  
  345.  
  346. Subject: 2.3 How do you print double-sided on a single-sided printer? 
  347.  
  348. |   The biggest problem comes in jamming when you feed the document 
  349. |   through the second time to print the backside. To minimize this 
  350. |   problem, you want to minimize the curl that the paper acquires in 
  351. |   passing through the printer. So, if your printer normally stacks 
  352. |   face down (to make the page order come out right) rearrange it 
  353. |   (often this involves flipping out a plastic paper catcher on the 
  354. |   end) so the pages feed straight through and stack face up. Then 
  355. |   acquire and build psutils, and run your document through the 
  356. |   following commands: 
  357. |
  358. |0'           <original.ps >odd.ps
  359. |      pstops '2:1U@1(1w,1h)' <original.ps >even.ps
  360. |  
  361. |   This puts the even and odd pages in different files, and rotates 
  362. |   the even pages 180 degrees so the top and bottom are reversed. This 
  363. |   lets you feed the paper back through with the old trailing edge at 
  364. |   the front; since pages get the most severe curl at the leading edge 
  365. |   this also helps reduce jamming. Print odd.ps, flip the output pile 
  366. |   face down and backwards, put it back in the input magazine, and 
  367. |   print even.ps. 
  368. |
  369. |   If the printer is fed by a shared print queue, you can leave the 
  370. |   paper magazine out after you put the first pass pages into it, 
  371. |   before you submit the second half, then make sure your job is at 
  372. |   the front of the queue (waiting for you to replace the paper tray) 
  373. |   before you reinsert the tray. 
  374. |
  375. |   Alternatively, particularly with serially-interfaced printers, 
  376. |   there's a long enough delay to pull the paper tray out between two 
  377. |   print jobs, so you can submit them both, then pull the tray out as 
  378. |   soon as the last page of the first job finishes. The ``pstops'' 
  379. |   invocations report how many pages they emit, so you can count pages 
  380. |   to determine when the first one is done.
  381.  
  382.  
  383. Subject: 2.4 How do I suppress the power-on start page? 
  384.  
  385.     Disabling the start page is described in your printer's PostScript 
  386.     supplement. The most common sequence is ``serverdict begin 0 
  387.     exitserver statusdict begin false setdostartpage end''. 
  388.  
  389.  
  390. Subject: 2.5 How do I make a downloaded font ``persistent''? 
  391.   
  392.   %!PS-Adobe-2.0 ExitServer
  393.   %%BeginExitServer: 0
  394.   serverdict begin 0 exitserver
  395.   %%EndExitServer
  396.   % Test for existence of font, abort if present.
  397.   % This won't work on a printer with a hard disk!
  398.   /str 32 string def
  399.   /Eurostile dup FontDirectory exch known
  400.   { str cvs print ( is already loaded!\n) print flush quit }
  401.   { (loading font ) print str cvs print (\n) print flush }
  402.   ifelse
  403.   %% Font follows...
  404.   
  405.     The part following ``%%EndExitServer'' is optional. If you use 
  406.     it, change Eurostile to the name of the font. The default PFA 
  407.     behavior is to use up additional VM for the new copy if another 
  408.     copy has already been downloaded. 
  409.  
  410.  
  411. Subject: 2.6 How do I remove a persistent (``permanent'') downloaded font? 
  412.  
  413.     In PostScript Level 2, you can use the undefinefont operator to 
  414.     remove fonts selectively. 
  415.  
  416.     The only reliable method in PostScript Level 1 is to restart the 
  417.     printer, for example with: 
  418.  
  419.   
  420.     serverdict begin 0 exitserver
  421.     systemdict /quit get exec
  422.   
  423.     Of course, the real solution is just to not download persistent 
  424.     fonts unless you really want them to persist indefinitely. If you 
  425.     want them only for one job, download them as part of the job. 
  426.  
  427.  
  428. Subject: 2.7 How do I reset the printer without power-cycling? 
  429.  
  430.     Most printers can be reset by issuing ``serverdict begin 0 
  431.     exitserver systemdict /quit get exec''. 
  432.  
  433.  
  434. Subject: 2.8 About saving files 
  435.  
  436.     Adobe recommends that driver writers do not put EOT (control-D) 
  437.     into files when saving to disk. Normally, the EOT is a part of the 
  438.     protocol for parallel and serial ports and never hits the 
  439.     PostScript interpreter. 
  440.  
  441.     Drivers that do embed EOD can create problems for devices that 
  442.     allow other communication methods (e.g. AppleTalk, Ethernet, and 
  443.     SCSI) where the EOT is not part of the communications protocol. It 
  444.     is useful to redefine EOT in these instances so that the 
  445.     interpreter does not generate an error. The recommended 
  446.     redefinition is: 
  447.  
  448.   
  449.                    (\004) cvn {} def
  450.   
  451.     This should convert any stand-alone embedded EOTs into a null 
  452.     procedure. 
  453.  
  454.  
  455. Subject: 2.9 What's the control-D business? 
  456.  
  457.     PostScript printers communicating over serial lines use control-D 
  458.     as an end of job indicator. The host computer should then wait for 
  459.     the printer to send a control-D back to indicate that the job has 
  460.     finished. Managing the serial protocol between host and printer 
  461.     should be done by some form of print service, but if you're unsure 
  462.     whether your print service is doing it, it's an idea to send one 
  463.     yourself. 
  464.  
  465.     PC type computers frequently do not have any kind of printer 
  466.     manager and applications end up sending control-D characters to the 
  467.     printer, sometimes before and after a job. PC applications 
  468.     frequently embed a control-D as the first character in the print 
  469.     file, presumably to flush out any other jobs, and thereby breaking 
  470. |   the Adobe Document Structuring Conventions. There is a way to turn 
  471. |   off generation off the control-D in Windows (anybody know it?). 
  472.  
  473.     If you want to prevent applications from doing this, you could use 
  474.     a spooler which would look at the end of every outgoing file and 
  475.     drop the control-D on the end if there happened to be one. 
  476.  
  477.     If you want a spooler, check out lprps. 
  478.  
  479.  
  480. Subject: 2.10 Why does the printer say ``still busy'' when my document is 
  481.     done printing? 
  482.  
  483.     Sometimes when you finish a print job, the printer ``Ready'' light 
  484.     keeps flashing for a minute or so. Somehow, the printer has 
  485.     received some character(s) after the control-D which was sent 
  486.     immediately after the PostScript file. The most common is that a 
  487.     newline has been inserted after the control-D. The printer took 
  488.     these character(s) to be another program, and eventually timed-out 
  489.     while waiting for the rest of it. This can happen because of the 
  490.     host not waiting for the printer to finish. 
  491.  
  492.  
  493. Subject: 2.11 How should I set up my spoolers? 
  494.  
  495.     Since PostScript usually is prefixed with ``%!'', it's easy to 
  496.     educate your spooler to autoselect between passing raw PostScript 
  497.     through to the printer or doing an ``ASCII-to-PostScript'' 
  498.     conversion first. There are many packages that will do this, 
  499.     including Transcript and psxlate. 
  500.  
  501.     Unfortunately, many PostScript applications generate PostScript 
  502.     without a proper ``%!'' magic cookie. 
  503.  
  504.     The spooler should be responsible for transmitting the ``job 
  505.     termination code'' (a control-D on serially-connected printers) to 
  506.     the printer, not the application. Do yourself a favor and disable 
  507.     (or filter out) control-Ds in your applications and generate them 
  508.     in the spooler. This will be far more reliable in the face of 
  509.     arbitrary input. 
  510.  
  511.  
  512. Subject: 2.12 What are PPD files? 
  513.  
  514.     Adobe Postscript Printer Description (PPD) files describe how to 
  515.     use the special features for a specific Postscript printer. They 
  516.     are suppose to be human-readable, but they are really only readable 
  517.     by PostScript gurus. It is the responsibility of the printer 
  518.     manufacturer to supply PPD files. However, the Adobe mail server 
  519.     has many of them. (see the Section 6, ``About Adobe'') 
  520.  
  521. |   Adobe Technical Document 5003 - PPD Specification describes how to 
  522. |   read and parse PPD files. You can find it on the Adobe mail server, 
  523. |   or by anonymous ftp to 
  524. |   ftp.adobe.com:/pub/adobe/Documents/5003.PPD_Spec.ps. 
  525.  
  526.  
  527. Subject: 2.13 What's a timeout error? 
  528.  
  529. |   The wait timeout is the maximum time the PostScript interpreter 
  530. |   will wait for input before aborting. The timeout interval begins 
  531. |   when the interpreter finishes executing everything it has received 
  532. |   so far and starts waiting for the host to send it more data. If 
  533. |   this timeout expires and no more data arrives, a timeout occurs. 
  534. |
  535. |   In particular, a compute-bound job (or one that goes into an 
  536. |   infinite loop) will not encounter a wait timeout, since it is not 
  537. |   waiting. The long diatribe about the need to "keep sending stuff" 
  538. |   and problems with long compute-bound jobs is totally off the mark. 
  539. |   The data channel may stop due to flow control, and may stay stopped 
  540. |   for long periods if the printer is very busy. This is perfectly OK 
  541. |   and won't cause a timeout. 
  542. |
  543. |   Don't disable the wait timeout. The whole point of the wait timeout 
  544. |   is to prevent the interpreter from being indefinitely tied up by a 
  545. |   host application that has crashed, a communication channel that has 
  546. ected, or whatever. This is particularly important for 
  547. |   networked printers. The only situation in which disabling timeouts 
  548. |   is appropriate is when debugging applications or drivers, since you 
  549. |   don't want the printer timing out while the host is at a breakpoint 
  550. |   or something. 
  551.  
  552. Subject: 3 Formats and Conversions 
  553.  
  554.     This section describes formats that can be converted to and from 
  555.     PostScript, and how to convert them. Encapsulated PostScript and 
  556.     Fonts have their own sections. 
  557.  
  558.  
  559. Subject: 3.1 How can I convert PostScript to some other graphics format? 
  560.  
  561.     Since PostScript is not just a picture-description language, but in 
  562.     fact a complete programming language, you will need a complete 
  563.     PostScript interpreter to convert or display a PostScript graphic. 
  564.     See the comp.sources.postscript FAQ for an index of all PostScript 
  565.     related programs. 
  566.  
  567.     Try using GhostScript. 
  568.  
  569.  
  570. Subject: 3.2 How can I convert HPGL to PostScript? 
  571.  
  572. |   Use hp2ps. 
  573.  
  574.  
  575. Subject: 3.3 How can I convert DVI to PostScript? 
  576.  
  577.     Use dvips. 
  578.  
  579.  
  580. Subject: 3.4 How can I convert HP Laserjet language (PCL) to PostScript? 
  581.  
  582.     Use lj2ps for simple PCL. Alternatively, another lj2ps, from 
  583.     psroff3.0, is a little more complete. 
  584.  
  585.     hp2pbm can convert all of PCL4 (up to and including rasters, 
  586.     downloaded fonts and macros) into PostScript, G3 and any other 
  587.     PBM-supposed format. 
  588.  
  589.  
  590. Subject: 3.5 How can I convert TeX PK format font to PostScript? 
  591.  
  592.     Psroff3.0 contains programs that can convert TeX PK format or HP 
  593.     SFP format fonts into PostScript bitmap fonts along with 
  594.     rearranging encoding, etc. While bitmap bfonts scale poorly, this 
  595.     is sometimes of use in special circumstances. 
  596.  
  597.  
  598. Subject: 3.6 How do I embed PostScript into troff? 
  599.  
  600.     Most troffs can be ``coerced'' into including PostScript figures. 
  601.     The best approach is a configuration that takes EPS PostScript and 
  602.     can automatically scale it, or tell troff how big the picture is. 
  603.     Groff and DWB 3 have this built in. 
  604.  
  605.     psfig is an add-on EPS inclusion handler that can add this 
  606.     capability to other versions of troff, provided that a compatible 
  607.     PostScript driver is used (Psroff 3.0 for ditroff or CAT troff, 
  608.     Transcript for ditroff). See the comp.text FAQ for more detail. 
  609.  
  610.  
  611. Subject: 3.7 How do I embed PostScript into LaTeX or TeX? 
  612.  
  613.     You should use an add-on program for seamless PostScript inclusion. 
  614.  
  615.     Use psfig. 
  616.  
  617.     If your LaTeX is simple, but your PostScript is fancy, try using 
  618.     LameTeX. 
  619.  
  620.     If you need a good compromise, use pstricks. 
  621.  
  622.     See the comp.text.tex FAQ. 
  623.  
  624.  
  625. Subject: 3.8 How can I convert an image to PostScript? 
  626.  
  627.     First determine what format your images are in. PBMPLUS will have 
  628.     converters for most image formats. 
  629.  
  630.     To convert an image to PostScript in X windows, you can display the 
  631.     image on the screen, and grab it with xv, which can save the image 
  632.     in a PostScript file. 
  633.  
  634.     A more general alternative in X windows would be to use the PPM, 
  635.     PGM and PBM utilities in the X11R4 and X11R5 distributions. 
  636.  
  637.  
  638. Subject: 3.9 How can I convert ASCII text to PostScript? 
  639.  
  640.     Unless your printer is smart about raw ASCII, you can't just send 
  641.     the ASCII to a PostScript printer, because the printer will attempt 
  642.     to interpret your ASCII file as PostScript code. You need a program 
  643.     which will wrap some PostScript code around your ASCII file. 
  644.  
  645.     Try any of the following programs: asciiprint.ps, ato2pps, cz, 
  646.     ETSR, i2ps, lpp, lwf, POSTPRN, printer, psf, psfx80, PSR, ps2txt, 
  647.     pstext, swtext, text2ps, TranScript, spike.ps, enscript, nenscript, 
  648.     a2ps, asc2ps, ascii2ps, crossword.ps, double.ps, landscape.ps, 
  649.     numbered.ps, portrait.ps, or wide.ps. 
  650.  
  651.     If you want to make something fancy, why not use a word processor? 
  652.     Most of them can ``include'' ASCII directly from a file and produce 
  653.     PostScript. 
  654.  
  655.  
  656. Subject: 3.10 How can I convert PostScript to ASCII? 
  657.  
  658.     In general, when you say ``I want to convert PostScript to ASCII'' 
  659.     what you really mean is ``I want to convert MacWrite (which makes 
  660.     PostScript output) to ASCII'' or ``I want to convert somebody's TeX 
  661.     document (which I have in PostScript) to ASCII''. 
  662.  
  663.     Unfortunately, programs like these (if they're smart) do a lot of 
  664.     fancy stuff like kerning, which means that where they would 
  665.     normally execute the postscript command for 
  666.  
  667.   
  668.       ``print water fountain''
  669.   
  670.     instead they execute the postscript command for 
  671.  
  672.   
  673.       ``print wat''      (move a little to get the spacing *just* right)
  674.       ``print er''       (move a little to get the spacing *just* right)
  675.       ``print foun''     (move a little to get the spacing *just* right)
  676.       ``print tain''     (move a little to get the spacing *just* right)
  677.   
  678.     So if I write a program to look through a PostScript file for 
  679.     strings, like ps2ascii.pl, It can't tell where the words really 
  680.     end. Here my program would see 4 strings 
  681.  
  682.   
  683.   ``wat'' ``er'' ``foun'' ``tain''
  684.   
  685.     And it doesn't see any difference between the spacing between 
  686.     ``found'' and ``tain'' (not a word break) and the spacing between 
  687.     ``er'' and ``foun'' (a real word break). 
  688.  
  689.     The problem is that PostScript for text formatting is usually 
  690.     produced machine generated by a text formatter. A PostScript 
  691.     generator like dvips might have a special command like ``boop'' 
  692.     that differentiates between a real world break and a fake one. But 
  693.     every text formatter that generates PostScript has their own name 
  694.     for the ``boop'' command. 
  695.  
  696.     So you really want a ``PostScript to ASCII converter for dvips 
  697.     output''. 
  698.  
  699.     The only general solution I can see would be to redefine the show 
  700.     operator to print out the currentpoint for every letter being 
  701.     printed, like gs2asc, and then make up an ASCII page based on this 
  702.     by sticking ASCII characters where they go in a two-dimensional 
  703.     array. That would convert PostScript to ASCII ``formatted''. 
  704.  
  705.     But even that wouldn't solve the problem, because special bitmap 
  706.     fonts and and standard fonts like Symbol don't always print a ``P'' 
  707.     when you say the letter ``P''. Sometimes they print the greek Pi 
  708.     symbol or a chess piece or a ZapfDingBat. 
  709.  
  710.     Use ps2a, ps2ascii, ps2txt, ps2ascii.ps or ps2ascii.pl. 
  711.  
  712.  
  713. Subject: 3.11 How do I convert between PFB, PFA, Mac, PFM, and AFM? 
  714.  
  715.     Write or call Y and Y Software, listed in the fonts section as a 
  716. |   vendor. For NEXTSTEP systems, write or call Trilithon Software, 
  717. |   also listed in the fonts section as a vendor. 
  718.  
  719.  
  720. Subject: 4 Fonts 
  721.  
  722.     This section answers questions about fonts as they pertain to 
  723.     PostScript. See the comp.fonts FAQ for more information about 
  724.     fonts. 
  725.  
  726.  
  727. Subject: 4.1 What are .PFB and .PFA files? 
  728.  
  729.     ``PFB'' stands for Printer Font Binary, and is a STORAGE FORMAT in 
  730.     which Adobe Type 1 font programs are usually distributed for IBM PC 
  731.     and compatibles. Many application programs support fonts in PFB 
  732.     format, and refer to them as ``downloadable''. 
  733.  
  734.     Macintosh uses a radically different binary storage format than PC. 
  735.     See below for some details. 
  736.  
  737.     PFB files usually appear in several sections, each section preceded 
  738.     by a binary header containing the type of the section (ASCII, 
  739.     binary, or end of file) and the length of the section. Because of 
  740.     the presence of the binary section headers, and the possible 
  741.     presence of binary data sections, PFB files cannot in general be 
  742.     sent directly to a PostScript printer. Application programs like 
  743.     dvips which use fonts in PFB format unpack the font into ASCII 
  744.     format before sending it to the printer. If you would like to use a 
  745.     font which is in PFB format, you must unpack the font to make a PFA 
  746.     (Printer Font ASCII) file. Adobe Systems supply a font downloader 
  747.     for PC's which turns the PFB format into PFA format on the fly as 
  748.     it's being downloaded. 
  749.  
  750.     ``PFA'' stands for Printer Font ASCII, which is the unpacked 
  751.     version of a PFB file. In PFB, the data is stored as-is. In a PFA, 
  752.     any binary data present in a former PFB file is stored as ``ascii 
  753.     hex''--meaning each byte of binary data is turned into two ASCII 
  754.     characters representing the hexdecimal value. 
  755.  
  756.     Once you have the PFA file, just send it to the printer ahead of 
  757.     your file, and use the font like any other. There are several 
  758.     programs which can do the conversion from PFB to PFA for you. Try 
  759.     t1utils. 
  760.  
  761. |   Details of the PFB format can be found in Adobe Technical Note # 
  762. |   5040, ``Supporting Downloadable PostScript Fonts''. 
  763.  
  764.  
  765. Subject: 4.2 How does Macintosh Store PostScript Fonts? 
  766.  
  767. |   To start off understanding how Macintosh stores PostScript fonts, 
  768. |   first you need to know that a Macintosh file consists of two 
  769. |   different parts, called ``forks''. The two forks of a Macintosh 
  770. |   file are called the ``resource fork'' and the ``data fork''. 
  771. |
  772. |   The data fork normally contains the data of the file. In the case 
  773. |   of a text editor, for instance, the data fork contains the text. 
  774. |
  775. |   The resource fork contains system (resource) information about the 
  776. |   file: who owns the file, its icon maybe, and other information. The 
  777. |   various bits of information in the resource fork are contained in a 
  778. |   complex structure. One of the items is a resource map, detailing 
  779. |   the different kinds of resources and their positions in the 
  780. |   resource fork. 
  781. |
  782. |   The reason you need to know all this is because PostScript Type 1 
  783. |   fonts are stored in the resource fork of Macintosh files. Why this 
  784. |   was done is a historical mystery now, because the information could 
  785. |   just as easily have been stored in the data fork in a format 
  786. |   similar to PFB, and unpacking fonts would have been a whole lot 
  787. |   easier. 
  788. |
  789. |   PostScript Type 1 fonts are stored in resources with the name 
  790. |   POST''. If you aren't familiar with the layout of resource forks, 
  791. |   study the ``Resource Manager'' chapter of the Inside Macintosh 
  792. |   books. Details of Macintosh PostScript Type 1 storage format can be 
  793. |   found in Adobe Technical Note 5040, ``Supporting Downloadable 
  794. |   PostScript Fonts''. The information in the Adobe Technical Note is 
  795. |   incomplete in the sense that you need to understand the layout of 
  796. |   Macintosh resource forks to make sense of the information. 
  797. |
  798. |   In the majority of cases, you can assume that the POST resources 
  799. |   are stored contiguously in the resource fork. Unfortunately, there 
  800. |   are a few cases where this isn't true, and the resulting PFA file 
  801. |   will be incorrect. 
  802. |
  803. |   POST resources occur in five types. Type 0 are comments. Type 1 are 
  804. |   ASCII data. Type 2 are binary data. Type 3 are end of this font 
  805. |   program. Type 4 means that the remainder of this font appears in 
  806. |   the data fork of the file! Type 5 means end of file. 
  807. |
  808. |   Having talked about PostScript Type 1 fonts being stored in the 
  809. |   resource fork, why is there a case where the font comes out of the 
  810. |   data fork? Some PostScript Type 3 fonts are stored in this manner. 
  811.  
  812.  
  813. Subject: 4.3 How can I convert a PostScript font to TeX's PK format? 
  814.  
  815.     Use ps2pk or try out the GNU font utilities in fontutils. 
  816.  
  817.  
  818. Subject: 4.4 Why are Adobe fonts hidden? 
  819.  
  820.     In PostScript level 1, Adobe's fonts were hidden because they 
  821.     didn't want people pirating copies instead of paying for them. 
  822.     That's why you can't do a pathforall on a charpath. 
  823.  
  824.     PostScript Level Two has removed the restriction, in the words of 
  825.     the new Red Book, ``for most fonts''. There will still be some 
  826.     vendors who will want to restrict access. Japanese font vendors, 
  827.     for example, are concerned about piracy -- given the work that goes 
  828.     into an 8,000-character Kanji font. 
  829.  
  830.  
  831. Subject: 4.5 How do I get bitmap representations of Adobe fonts? 
  832.  
  833.     On the IBM PC, use the Font Foundry program included with the font. 
  834.     If you don't have it, contact Adobe for an upgrade. 
  835.  
  836.  
  837. Subject: 4.6 What are some good ftp sites for fonts? 
  838.  
  839.   
  840.   ftp.cs.umb.edu
  841.   sumex-aim.stanford.edu
  842.   archive.umich.edu
  843.   ftp.cica.indiana.edu    /pub/pc/win3/fonts
  844.   colonsay.dcs.ed.ac.uk   /pub/postscript/fonts
  845.   
  846.   
  847.   For the NeXT platform, fonts are available on the NeXT-FTP-archives,
  848.           sonata.cc.purdue.edu :/pub/next/graphics/fonts
  849.           fiasko.rz-berlin.mpg.de :/pub/next/fonts
  850.   
  851.     For Macintosh, look in sumex-aim.stanford.edu, 
  852.     mac.archive.umich.edu, and ftp.cs.umb.edu (192.12.26.23), in 
  853.     pub/tex/ps-screenfonts.tar.Z. 
  854.  
  855.     Color PostScript samples and many other PostScript programs are 
  856.     available from irisa.irisa.fr. 
  857.  
  858.  
  859. Subject: 4.7 How can I re-encode a font? 
  860.  
  861.     See ddev.ps for an example for code that does this. You can find it 
  862.     by ftp to wilma.cs.brown.edu:pub/postscript/ddev.ps. 
  863.  
  864.  
  865. Subject: 4.8 What's the difference between a Type 1 and a Type 3 font? 
  866.  
  867.     The Type 1 font format is a compact way of describing a font 
  868.     outline using a well-defined language that can be quickly 
  869.     interpreted. The language contains operations to provide the 
  870.     rasterizer with additional information about a character, known as 
  871.     hints. The hints are additional information which describes how to 
  872.     adjust the representation of the character to make it look good 
  873.     when the font size is small compared to the device resolution. The 
  874.     Type 1 font format is defined in the book ``The Adobe Type 1 Font 
  875.     Format'', also known as the black book, for the colors on its 
  876.     cover. 
  877.  
  878.     The Type 1 font format has nothing to do with TrueType, which is 
  879.     another font format defined by Apple. The Type 1 font format has 
  880.     been around quite a while, and is used on a wide variety of 
  881.     platforms to obtain scalable fonts. 
  882.  
  883.     Most clone interpreters will not have Adobe's proprietary rendering 
  884.     technology which interprets font hints to improve the appearance of 
  885.     fonts shown at small sizes on low-resolution devices. The 
  886.     exceptions (PowerPage and UltraScript) have their own hint 
  887.     interpreters. 
  888.  
  889.     The Type 3 font format is a way of packaging up PostScript 
  890.     descriptions of characters into a font, so that the PostScript 
  891.     interpreter can rasterize them. 
  892.  
  893.     It is easier to create a Type 3 font program by hand than to create 
  894.     the corresponding Type 1 font program. Type 3 font programs have 
  895.     access to the entire PostScript language to do their imaging, 
  896.     including the 'image' operator. They can be used for bitmapped 
  897.     fonts, although that is certainly not a requirement. The Type 3 
  898.     font format contains no provisions for 'hinting', and as such Type 
  899.     3 font programs cannot be of as high a quality at low resolutions 
  900.     as the corresponding Type 1 font program. 
  901.  
  902.     Both formats are scalable formats, and both can be run on any 
  903.     PostScript interpreter. However, because of the requirement that a 
  904.     Type 3 font program have a full PostScript interpreter around, Type 
  905.     3 font programs cannot be understood by the Adobe Type Manager. 
  906.     Only Type 1 font programs can. 
  907.  
  908.     Why bother making a font that's just made up of bitmaps? Once a 
  909.     character from a font has been rendered, the bitmap will be saved 
  910.     in a cache, and another instance of the same character at the same 
  911.     size and orientation can be quickly drawn without recalculation. 
  912.  
  913.     Because of Adobe Type Manager's wide availability on a large number 
  914.     of platforms (PC, Mac, and Unix), the Type 1 font format makes an 
  915.     excellent cross-platform scalable font standard. 
  916.  
  917.  
  918. Subject: 4.9 What vendors sell fonts for PostScript printers? 
  919.  
  920.     PostScript font vendors are many and varied. Here is a partial 
  921.     list. 
  922.  
  923.  
  924.  
  925.     Adobe Systems 
  926.       sells a variety of fonts. With the huge number of third-party 
  927.       Type 1 vendors, in recent years Adobe have specialized in 
  928.       creating their own ``Adobe Originals'' -- high-quality fonts, 
  929.       some of which are their renditions of classic faces (Adobe 
  930.       Garamond) and some of their own devising (Stone, Utopia, ...). 
  931.       Adobe Systems, 1585 Charleston Road, Mountain View, CA 94039. 
  932.       (415) 961-4400 
  933.  
  934.  
  935.     AGFA Compugraphic, 
  936. ts 01887. (508) 
  937.       658-5600. 
  938.  
  939.  
  940.     Bear Rock Technologies 
  941.       specializes in bar code fonts. 4140 Mother Lode Drive, Suite 100, 
  942.       Shingle Springs California 95682. 
  943.  
  944.  
  945.     Bitstream, 
  946.       Athenaeum House, Cambridge, MA 02142. (617) 497-6222. 
  947.  
  948.  
  949. |   Callifonts 
  950. |     has a really nice looking set of calligraphy typefaces. P.O. Box 
  951. |     224891, Dallas, TX 75222. (214) 504-8808. 
  952.  
  953.  
  954.     Casady and Greene, 
  955.       22734 Portola Drive, Salinas, CA 93908. (408) 484-9228. 
  956.  
  957.  
  958.     Ecological Linguistics, 
  959.       specializes in non-Roman alphabets. Ecological Linguistics, P. O. 
  960.       Box 15156, Washington D. C. 20003. 
  961.  
  962.  
  963.     Emigre Graphics 
  964.       4475 ``D'' Street / Sacramento CA 95819 (800) 944 9021 ] Over 70 
  965.       faces, all PostScript Type 1 ATM compatible, including the 
  966.       omnipresent Modula and infamous Template Gothic. Almost all faces 
  967.       are ``must haves'' for graphic designers. Call for free catalog. 
  968.  
  969.  
  970. |   The Font Company 
  971. |     12629 North Tatum Boulevard, Suite 210, Phoenix Arizona 85032. 
  972. |     (602) 998-9711. 
  973.  
  974.  
  975.     Image Club, 
  976.       # 5 1902 11th St Southeast, Calgary, Alberta T2G 2G2, Canada. 
  977.       (403) 262-8008. 
  978.  
  979.  
  980. |   Lanston 
  981. |     specializes in display faces. 
  982.  
  983.  
  984.     Letraset 
  985.       specializes in fancy kinds of script fonts, Letraset, 40 
  986.       Eisenhower Drive, Paramus, New Jersey 07652. (201) 845-6100 
  987.  
  988.  
  989.     Linguists Software 
  990.       specializes in non-Roman alphabets (Farsi, Greek, Hangul, Kanji, 
  991.       etc.) Linguists Software, P. O. Box 580, Edmonds, Washington 
  992.       98020-0580. (206) 775-1130. 
  993.  
  994.  
  995.     Monotype, 
  996.       53 West Jackson Boulevard, Suite 504, Chicago, IL 60604. 
  997.  
  998.  
  999.     Page Studio Graphics, 
  1000.       Chandler, Arizona, specialize in symbols fonts such as Mac icons, 
  1001.       keyboards, and others, Page Studio Graphics, 3175 North Price 
  1002.       Road, # 1050, Chandler, Arizona 85224. (602) 839-2763. 
  1003.  
  1004.  
  1005. |   Software Complement 
  1006. |     specializes in creating logo fonts. 8 Penn Avenue, Metamoras, 
  1007. |     Pennsylvania 18366 USA. 
  1008.  
  1009.  
  1010. |   The Font Company 
  1011.  
  1012.  
  1013. |   TreacyFaces 
  1014.  
  1015.  
  1016. |   Trilithon Software, 
  1017. |     Portola Valley, California can supply fonts from the Adobe Type 
  1018. |     library for NEXTSTEP. If you're working on NEXTSTEP, getting 
  1019. |     fonts in the correct form with ancillary information and 
  1020. |     downloaders and such is important. You can convert Mac fonts to 
  1021. |     NEXTSTEP (PFA) format, but NEXTSTEP demands AFM files as well, 
  1022. |     and many Mac/PC font vendors omit AFM files because Mac/PC apps 
  1023. |     don't use them. For Adobe fonts for NEXTSTEP, save yourself a lot 
  1024. |     of hassle by getting the fonts from Trilithon. 
  1025. |
  1026. |     If you want non-Adobe fonts for NEXTSTEP, Trilithon Software can 
  1027. |     supply font conversion tools to go from Macintosh or PC format to 
  1028. |     NEXTSTEP format. The conversion tools generate AFM files if none 
  1029. |     are supplied with the fonts, and sanity check AFM files for 
  1030. |     correctness when they are supplied. 
  1031. |
  1032. |     Two Ohlone, Portola Valley, California 94028 USA. Telephone: 
  1033. |     (415) 325-0767, FAX: (415) 325-0768. E-Mail: info@trilithon.com. 
  1034.  
  1035.  
  1036.     URW 
  1037.       supplies high-quality fonts at low prices. They are also the 
  1038.       creators of the top of the line font creation and editing 
  1039.       software called Ikarus. URW, 4 Manchester Street, Nashua, New 
  1040.       Hampshire 03060. (603) 882-7445. 
  1041.  
  1042.  
  1043.     Y and Y Software 
  1044.       , 106 Indian Hill, Carlisle Massachusetts 10741 USA. (508) 
  1045.       371-3286. Sells a Font Metric Manipulation Package for DOS with 
  1046.       lots of interesting utilities. 
  1047.  
  1048.     Many more font vendors exist. Look in magazines and other sources. 
  1049.     Check the Usenet newsgroup comp.fonts. Look in U & lc, published by 
  1050.     ITC, for long lists of vendors. 
  1051.  
  1052.  
  1053. Subject: 4.10 What are ATM fonts? 
  1054.  
  1055.     There has been a rash of misunderstanding about the nature of Type 
  1056.     1 fonts and what people call ATM fonts. ATM fonts are Adobe Type 1 
  1057.     fonts. ATM stands for Adobe Type Manager -- a utility to render 
  1058.     smooth characters on Macintosh and PC screens, from font outlines 
  1059.     (Type 1 fonts) instead of using bitmap fonts. In one sense, there's 
  1060.     no such thing as an ``ATM font'' -- ATM interprets Type 1 fonts, so 
  1061.     there's no need to create a new name. A correctly constructed Type 
  1062.     1 font can be interpreted by ATM. 
  1063.  
  1064.  
  1065. Subject: 4.11 What are Multiple Master Fonts? 
  1066.  
  1067.     Multiple Master Fonts are an extension to the Adobe font format. 
  1068.     providing the ability to interpolate smoothly between several 
  1069.     ``design axes'' from a single font. Design axes can include weight, 
  1070.     size, and even some whacko notions like serif to sans serif. 
  1071.     Adobes' first Multiple Master Font was Myriad -- a two-axis font 
  1072.     with WEIGHT (light to black) on one axis, and WIDTH (condensed to 
  1073.     expanded) along the other axis. In the case of Myriad, there are 
  1074.     four ``polar'' designs at the ``corners'' of the design space. The 
  1075.     four designs are light condensed, black condensed, light expanded, 
  1076.     and black expanded. 
  1077.  
  1078.     Given polar designs, you can set up a ``weight vector'' which 
  1079.     interpolates to any point within the design space to produce a 
  1080.     unique font for a specific purpose. So you can get a ``more or less 
  1081.     condensed, somewhat black face''. 
  1082.  
  1083.  
  1084. Subject: 4.12 Do I need a Level Two printer to use Multiple Master Fonts? 
  1085.  
  1086.     No -- Multiple Master Fonts can be used on any PostScript printer. 
  1087.     Multiple Master Fonts need a new PostScript operator known as 
  1088.     makeblendedfont. The current crop of Multiple Master Fonts supply 
  1089.     an emulation of this operator so the printer doesn't need this 
  1090.     operator. 
  1091.  
  1092.     A short tutorial on Multiple Master Fonts and makeblendedfont 
  1093.     appears in PostScript by Example, by Henry McGilton and Mary 
  1094.     Campione, published by Addison-Wesley. 
  1095.  
  1096.  
  1097. Subject: 4.13 What are Type 4 fonts? 
  1098.  
  1099.     Type 4 fonts are actually Type 3 fonts which contains a Type 1 
  1100.     font. They're stored on hard disk in a special way to save space 
  1101.     when they're loaded into printer RAM by findfont. Your interpreter 
  1102.     must have the extra PostScript operator CCrun to handle Type 4 
  1103.     fonts. They are usually used for Kanji (Japanese) characters. 
  1104.  
  1105.  
  1106. Subject: 4.14 What are Type 5 fonts? 
  1107.  
  1108.     Type 5 fonts are actually Type 1 fonts, but stored in printer ROM 
  1109.     in a special compressed format. They're also known as CROM fonts 
  1110.     (for Compressed ROM fonts). The contents of the CharStrings entries 
  1111.     in Type 5 will probably be different from Type 1. 
  1112.  
  1113.  
  1114. Subject: 4.15 Is there an editor for Type 1 Fonts? 
  1115.  
  1116.     Fontographer for the Macintosh and MS-Windows under DOS is 
  1117.     available from Altsys Corporation, 269 West Renner Road, 
  1118.     Richardson, Texas 75080 USA. (214) 680-2060. 
  1119.  
  1120.     Ikarus-M is availble for the Macintosh from URW, Harksheider 
  1121.     Strasse 102, 2000 Hamburg 65, GERMANY. (040) 60 60 50 Or URW 
  1122.     Software and Type, 4 Manchester Street, Nashua, New Hampshire 
  1123.     03060. (800) 229-8791 in USA. (603) 882-7445 otherwise. 
  1124.  
  1125.     Acknowledgments 
  1126.  
  1127.  
  1128.     This FAQ was compiled based heavily on the contributions of and 
  1129.     with the help of Henry McGilton, Dick Dunn, Howard Gayle, Dan 
  1130.     Carrigan, Carl Orthlieb, Ed Garay, Robert Lerche, Bruno Hall, Tom 
  1131.     Epperly, and Chris Lewis. 
  1132.  
  1133.     Also thanks to contributors Paul Balyoz, Karl Berry, Jerry Black, 
  1134.     Charles Cashion, Jim DeLaHunt, Leonard Hamey, Chris Herborth, Steve 
  1135.     Kinzler, Bill Lee, Timo Lehtinen, Carl Lydick, Otto Makela, Bill 
  1136.     Pringle, Tony Valsamidis, and Jamie Zawinski. 
  1137.  
  1138.     Special thanks to Ken Porter, who originally compiled and organized 
  1139.     this FAQ. 
  1140.  
  1141.   
  1142.   
  1143.   Ver  Date     Reason
  1144.   ----------------------------------------------------------------
  1145.   1.00 12-18-90 Creation by Ken Porter
  1146.   1.06  5-29-91 expanded on EPS explanation, general updates
  1147.   2.00 10-25-92 Brought up to date and expanded, by Jon Monsarrat
  1148.   2.1   5-21-93 Revised because of new comp.sources.postscript group.
  1149.   2.2  12-26-93 Finally incorporated all the '93 comments and suggestions.
  1150.   
  1151.   
  1152.     This FAQ is copyright (C) 1994 by Jonathan Monsarrat. Permission is 
  1153.     granted to freely edit and distribute as long as this copyright 
  1154.     notice is included.
  1155.  
  1156.     This document was written with the LaTeX language and formatted by
  1157.     LameTeX, the PostScript hacker's LaTeX. 
  1158.  
  1159.   
  1160. %! Jon Monsarrat   jgm@cs.brown.edu     moderator, comp.sources.postscript %!
  1161. (LcHdBidZi_hdQ6[PaVa1b4c6F"J4b/>$O<)(di_zk{:UFfUg;ABF)(2n>]Eh:u?<)(P"M#R(:$T<)
  1162. ([gXfSZ]f"dZbeZeb^fH;`?dR=ZS7)(K P!U!: H<)(9l9cCf:o?$)(7W4]6`:X;=)(U"W#_%:"R-)
  1163. (A 5"<&Y%K"F"M,M,S)i3e.M5F_PZR9>lP-)(wBxEuEs7x;uBq:q<q>hFh7o:=Nj<)(Z#]#b#:$R-)
  1164. (m+m+k3S!R+d,;"^<)(GFP"RamZf;TAP{X{fd<{C7)(4840N2:6N=)([ Z#^&:!c<)(<%?$C$:#8<)
  1165. (D!J"L#:!B<)/a{def}def/M{exch}a/S{repeat}a/Q{{40 add}if}a 18{{}forall/R M a/x 2
  1166. /y 3/z 5 3{R M mod 1 eq a}S x Q M y Q moveto 57 sub{3{y Q M x Q M 6 2 roll}S
  1167. curveto}S z{fill}{stroke}ifelse}S showpage
  1168.   
  1169.  
  1170.  
  1171.  
  1172.  
  1173. Newsgroups: comp.lang.postscript,comp.answers,news.answers
  1174. Path: bloom-beacon.mit.edu!news.media.mit.edu!uhog.mit.edu!sgiblab!brunix!doorknob.cs.brown.edu!jgm
  1175. From: Jonathan Monsarrat <postscript-request@cs.brown.edu>
  1176. Subject: PostScript monthly FAQ v2.2 12-26-93 [05-06 of 11]
  1177. Content-Type: text
  1178. Message-ID: <JGM.94Apr11234507@chekov.cs.brown.edu>
  1179. Followup-To: poster
  1180. Summary: Useful facts about the PostScript graphics programming language
  1181. Sender: news@cs.brown.edu
  1182. Supersedes: <JGM.93Apr16124153@vegas.cs.brown.edu>
  1183. Reply-To: postscript-request@cs.brown.edu (PostScript FAQ comments address)
  1184. Organization: Brown University Department of Computer Science
  1185. Mime-Version: 1.0
  1186. Date: Tue, 12 Apr 1994 04:45:07 GMT
  1187. Approved: news-answers-request@MIT.Edu
  1188. Expires: Thu, 12 May 1994 00:00:00 GMT
  1189. Lines: 868
  1190. Xref: bloom-beacon.mit.edu comp.lang.postscript:9151 comp.answers:4867 news.answers:17933
  1191.  
  1192. Archive-name: postscript/faq/part5-6
  1193. Last-modified: 1993/12/26
  1194. Version: 2.2
  1195.  
  1196.                               -- PostScript -- 
  1197.  
  1198.                             Answers to Questions 
  1199.  
  1200.                     (the comp.lang.postscript FAQ v2.2) 
  1201.  
  1202.                                Jon Monsarrat 
  1203.  
  1204.                               jgm@cs.brown.edu 
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.                      This FAQ is formatted as a digest. 
  1212.  
  1213.                 Most news readers can skip from one question 
  1214.  
  1215.                      to the next by pressing control-G. 
  1216.  
  1217.  
  1218.     Changes since the last version are marked with a '|' in the table 
  1219.     of contents and in the sections in the text-only format of the FAQ. 
  1220.  
  1221.     Now that there is Linux and NetBSD and BSD 386 UNIX IBM PC (and 
  1222.     clone) users can run any of the X-windows and UNIX programs in the 
  1223.     utilities section. See comp.os.linux. Also, there is now 
  1224.     GhostScript for the Macintosh. 
  1225.  
  1226.  
  1227.     The utilities index from the comp.sources.postscript FAQ will be 
  1228.     posted in comp.lang.postscript now too. 
  1229.  
  1230.     Please help fix the FAQ! All comments should be mailed to 
  1231.     jgm@cs.brown.edu. My favorite way to receive a change suggestion is 
  1232.     when it is accompanied by a section of the FAQ that is edited and 
  1233.     mailed to me verbatim as an example. If you would like to 
  1234.     contribute, please read the section ``about the FAQ'' first. Thank 
  1235.     you! 
  1236.  
  1237.     Books and programs are referred to by name only. See the book 
  1238.     sections for book information, and the comp.sources.postscript FAQ 
  1239.     for a full list of all PostScript related programs. I have archived 
  1240.     a number of the small utilities in 
  1241.     wilma.cs.brown.edu:pub/postscript. You can get the 
  1242.     comp.sources.postscript FAQ from 
  1243.     wilma.cs.brown.edu:pub/comp.sources.postscript. 
  1244.  
  1245.     Related FAQs: comp.text, comp.text.tex, comp.fonts, comp.graphics, 
  1246.     comp.sys.mac.apps, comp.sources.postscript. 
  1247.  
  1248. Subject: 5 Books 
  1249.  
  1250.     There are many good books on PostScript language programming. 
  1251.     Descriptions of all known books are listed below. A listing of 
  1252.     publisher information follows. 
  1253.  
  1254.     The most commonly known books are the ``blue book'', ``big red 
  1255.     book'', and ``green book'' from Adobe, to be read in that order. 
  1256.     They are nicknamed according for their jacket colors. 
  1257.  
  1258.     Other books recommended to me include Thinking in PostScript, 
  1259.     which allows its examples to be freely distributed, and PostScript 
  1260.     by Example. 
  1261.  
  1262.  
  1263. Subject: 5.1 Books 
  1264.  
  1265.   
  1266.    Adobe Illustrator - The Expert Advisor Series
  1267.         Author        Diane Burns, S. Venit, David Smith
  1268.         Publisher     Addison-Wesley, 1989
  1269.         ISBN:         0-201-14397-6  $22.95
  1270.   
  1271.  
  1272.   
  1273.    Adobe illustrator 3 complete.
  1274.         Author        Venit, Sharyn ; et al.
  1275.         Publisher     Reading, MA ; Wokingham : Addison-Wesley, c1991 
  1276.         Description   ix, 412 p. : [4] p. of plates : ill. (some col.) ;
  1277.                       24 cm.
  1278.         ISBN          0-201-57756-9 (pbk.)     $22.45
  1279.         Library #     006.6765
  1280.   
  1281.  
  1282.   
  1283.    Adobe illustrator 3.0 : the official handbook for designers. 3rd. ed. 
  1284.         Author        Bove, Tony ; Fred Davis, Cheryl Rhodes 
  1285.         Publisher     New York : Bantam Books, 1991
  1286.         Description   xvi, 420 [8] p. of plates : ill. ; 24 cm. 
  1287.         ISBN:         0-553-35385-3 (pbk.)    $24.95 ($31.95 Can.)
  1288.         Library #     Z286. .D47 B66 1991
  1289.   
  1290.  
  1291.   
  1292.    The Adobe Illustrator 3.2 : designer's guide 
  1293.    (Sybex Macintosh library series)
  1294.         Author        Holzgang, David A.
  1295.         Publisher     San Francisco : Sybex, c1992
  1296.         Description   xviii, 358 p. : ill. ; 23 cm.
  1297.         ISBN          0-7821-1002-9     $24.95
  1298.         Library #     T385 .H674 1992
  1299.   
  1300.  
  1301.   
  1302.    Adobe type 1 font format.
  1303.    [The Black Book] 
  1304.         Author        Adobe Systems Incorporated.
  1305.         Publisher     Reading, MA : Addison-Wesley, c1990.
  1306.         Description   iii, 103 p. : ill. ; 24 cm.
  1307.         ISBN          0-201-57044-0     $14.95 (18.95 Can.)
  1308.         Library #     QA76.73 P67 A36 1990
  1309.    
  1310.         This is the specification for the Type 1 font format. Type 1 
  1311.         fonts are the standard outline format found in Adobe PostScript 
  1312.         printers, implementations of the Display PostScript system, and 
  1313.         available as download able fonts from the Adobe Type Library. 
  1314.         This document describes the syntax of the Adobe Type 1 font  
  1315.         format, including complete information regarding hints, encoding 
  1316.         of character outlines, and the charstring and eexec encryption 
  1317.         algorithms. 
  1318.   
  1319.  
  1320.   
  1321. |  Apple LaserWriter reference : for the LaserWriter, LaserWriter Plus, 
  1322. |  LaserWriter IINT and IINTX.
  1323. |       Author        Apple Computer 
  1324. |       Publisher     Reading, MA : Addison-Wesley, c1988 
  1325. |       Description   xv, 167 p. ; 24 cm.
  1326. |       ISBN          0-201-19258-6     $19.95 
  1327. |       Library #     TK7887.7 .A66 1988
  1328.   
  1329.  
  1330.   
  1331.    Build your own PostScript laser printer and save a bundle. 2nd ed.
  1332.         Author        LaBadie, Horace W.
  1333.         Publisher     Blue Ridge Summit, PA : TAB Books, 1993
  1334.         Description   xviii, 149 p. : ill. ; 25 cm.
  1335.         ISBN          0-8306-4306-0     $19.60
  1336.         Library #     TK7887.7 .L33 1993
  1337.   
  1338.   
  1339.    Creating special effects on the Macintosh.
  1340.         Author        Holzgang, David A.
  1341.         Publisher     Reading, MA : Addison-Wesley, c1992
  1342.         Description   xx, 471 p. : ill. ; 24 cm.
  1343.                       + one computer disk (3 1/2 in.)
  1344.         ISBN          0-201-57779-8     $28.95 ($37.95 Can.)
  1345.         Library #     Z52.5 M28 H64 1991
  1346.   
  1347.  
  1348.   
  1349.    Design essentials.
  1350.         Author        Cohen, Luanne Seymour ; et al.
  1351.         Publisher     Mountain View, CA : Adobe Press, c1992
  1352.         Description   vii, 102 p. : ill. (some col.) 23 x 31 cm.
  1353.                       + 3-D viewing glasses inserted. 
  1354.                       At head of title: Professional studio techniques.
  1355.         ISBN          0-672-48538-9     $39.95 ($49.95 Can.)
  1356.         Library #     T385 .D473 1992.
  1357.   
  1358.   
  1359.    Design Techniques with Adobe Illustrator
  1360.         Author        Linda Miles, Betty Wilson
  1361.         Publisher     Sams, 1992
  1362.         ISBN          0-672-30205-5      $39.95
  1363.   
  1364.  
  1365.   
  1366.    Display PostScript programming.
  1367.         Author        Holzgang, David A.
  1368.         Publisher     Reading, MA : Addison Wesley, c1990 
  1369.         Description   x, 406 p. : ill. 24 cm.
  1370.         ISBN          0-201-51814-7     $24.95
  1371.         Library #     QA76.73 .P67 H63 1990
  1372.   
  1373.  
  1374.   
  1375.    Encapsulated PostScript : application guide for the
  1376.    Macintosh and PC's.
  1377.         Author        Vollenweider, Peter
  1378.         Publisher     New York ; London : Prentice Hall 1990 
  1379.         Description   xvii, 226 p. : ill. ; 24 cm.
  1380.                       Translated from German
  1381.         ISBN          0-13-275-843-1 (pbk.)     $16.95
  1382.         Library #     QA76.73 .P67 V65 1990
  1383.    
  1384.         The book's focus is EPS. However, it is an excellent book full 
  1385.         of actual real life PostScript and Encapsulated PostScript 
  1386.         applications on Macs, PCs, UNIX, IBM mainframe, and other 
  1387.         computer systems. 
  1388.   
  1389.  
  1390.   
  1391. |  Expert advisor : Adobe Illustrator.
  1392. |  (The Addison-Wesley expert advisor series)
  1393. |       Author        Burns, Diane ; S. Venit, David Smith 
  1394. ey, c1988
  1395. |       Description   ix, 350 p., [4] p. of plates : ill. (some col.) ;
  1396. |                     24 cm. 
  1397. |       ISBN          0-201-14397-6     $22.95 
  1398. |       Library #     T385 .B864 1989
  1399.   
  1400.  
  1401.   
  1402.    Graphic design with PostScript.
  1403.         Author        Kunkel, Gerard 
  1404.         Publisher     Glenview, IL :Scott, Foresman, c1990 
  1405.         Description   
  1406.         ISBN          0-673-38794-1     $29.95
  1407.         Library #     Z286 .D47 K87 1990
  1408.   
  1409.  
  1410.   
  1411.    Halftoning with Adobe Accurate Screens
  1412.         Author        Peter Fink
  1413.         Publisher     Hayden, 1992
  1414.         ISBN          ???    $29.95
  1415.   
  1416.   
  1417.    Hands-on PostScript.
  1418.         Author        Spring, Michael B. ; David S. Dubin 
  1419.         Publisher     Carmel IN, : Hayden Books, c1992 
  1420.         Description   xx, 431 p. ; 24 cm.
  1421.                       + one computer disk (3 1/2 in.)
  1422.         ISBN          0-672-30185-7     $29.95 ($37.95 Can.)
  1423.         Library #     QA76.73 .P67 S67 1992
  1424.    
  1425.         This is an introduction to PostScript for the novice or casual 
  1426.         user. PostScript programming principles are introduced in the 
  1427.         context of useful projects (e.g. greeting cards, letterhead, 
  1428.         multi-page posters). The book includes five PostScript driver 
  1429.         projects in Basic, Pascal, and C. A 3.5" DOS formatted diskette 
  1430.         is included with all the source code. It does not cover 
  1431.         PostScript level 2. 
  1432.   
  1433.  
  1434.   
  1435. |  Illustration techniques with Adobe illustrator for windows.
  1436. |       Author        Miles, Linda ; Betty Wilson
  1437. |       Publisher     Carmel, IN : Hayden, c1992
  1438. |       Description   xxviii, 323 p., [16] p. of plates : ill. 
  1439. |                     (some col.) ; 23 cm.
  1440. |                     + one computer disk (3 1/2 in.)
  1441. |       ISBN          0-672-30205-5     $39.95
  1442. |       Library #     006.6869
  1443.   
  1444.  
  1445.   
  1446.    Inside the Apple LaserWriter 
  1447.         Author        Hart, Roger
  1448.         Publisher     Glenview, IL : Scott, Foresman, c1989 
  1449.         Description   xvii, 293 p. : ill. ; 24 cm.
  1450.         ISBN          0-673-38064-5 
  1451.         Library #     TK7887.7 .H38 1989
  1452.   
  1453.  
  1454.   
  1455.    Inside PostScript.
  1456.         Author        Braswell, Frank Merritt
  1457.         Publisher     Berkeley, CA : Peachpit Press c1989 
  1458.         Description   various pagings ; 23 cm. 
  1459.         ISBN          0-938151-10-X     $37.50
  1460.         Library #     QA76.73 .P67 B73 1989
  1461.         
  1462.         Inside PostScript essentially takes one on a tour of the
  1463.         standardinternal PostScript code in most printers. The author 
  1464.         has worked extensively with an interpreter. (in PostScript 
  1465.         terms, no low-level hardware stuff here like cexec and 
  1466.         internaldict). 
  1467.   
  1468.  
  1469.   
  1470.    Laserwriter Reference
  1471.         Author        Apple Computer
  1472.         Publisher     Addison-Wesley, 1988
  1473.         ISBN          0-201-19258-6   $19.95
  1474.   
  1475.  
  1476.   
  1477.    Learning PostScript : a visual approach. 
  1478.         Author        Smith, Ross
  1479.         Publisher     Berkeley, CA : Peachpit Press, 1990
  1480.         Description   various pagings
  1481.         ISBN          0-938151-12-6     $ 22.95 
  1482.         Library #     QA76.73 .P67 S55 1990
  1483.    
  1484.         Learning PostScript is a tutorial on the PostScript language.
  1485.         It is very appealing, very easy to follow and filled with
  1486.          examples. Each example occupies two pages. A brief explanation 
  1487.         and source code is on the left page, and the resultant print-out
  1488.         is on the facing right page. The book starts off very simply for 
  1489.         beginners, and covers a lot of material at the end for experts.
  1490.         It was written before level 2 PostScript. In the later half of
  1491.         the book, a few examples can executed only if an additional disk
  1492.         is purchased. The code for LPAVA is $ 20 from Smith Consultants,
  1493.         834 Third St., Suite B, Santa Rosa, CA 95404, U.S.A. fax number:
  1494.        415-524-9775 
  1495.   
  1496.  
  1497.   
  1498.    Linotronic imaging handbook : the desktop publisher's
  1499.    guide to high-quality text and images.
  1500.         Author        Cavuoto, James ; Stephen Beale 
  1501.         Publisher     Torrance, CA : Micro Publishing Press, 1990 
  1502.         Description   vi, 217 p. : ill. (some col.) ; 23 cm.
  1503.         ISBN          0-941845-06-0     $27.95
  1504.         Library #     Z253.4 .L56 C387 1990
  1505.   
  1506.  
  1507.   
  1508. |  Mastering Adobe illustrator.
  1509. |       Author        Holzgang, David A.
  1510. |       Publisher     San Francisco : Sybex, c1988
  1511. |       Description   xviii, 330 p. : ill. ; 23 cm.
  1512. |       ISBN          0895884631 (pbk.)
  1513. |       Library #     Z286 .D4 H67 1988
  1514.   
  1515.  
  1516.   
  1517.    Mastering Adobe Illustrator 88.
  1518.         Author        McClelland, Deke ; Craig Danuloff 
  1519.         Publisher     [Boulder, CO] : Publishing Resources Inc. ;
  1520.                       [Homewood, IL] : Dow Jones Irwin, c1989
  1521.         Description   xii, 298, [21] p. : ill ; 24 cm.
  1522.         ISBN          1-55623-157-1 (Dow Jones Irwin)     $24.95
  1523.         Library #     Z286 .D47 M375 1989
  1524.   
  1525.  
  1526.   
  1527.    The official Adobe Photoshop handbook.
  1528.         Author        Biedny, David ; Bert Monroy
  1529.         Publisher     Toronto ; New York : Bantam Books, 1991 
  1530.         Description   xxxviii, 423 p. : ill. (some col.) ; 24 cm.
  1531.         ISBN          0-553-34876-0     $26.95 ($33.95 Can.)
  1532.         Library #     QA76.8 .M3  B52 1991
  1533.   
  1534.  
  1535.   
  1536. |  PostScript by example.
  1537. |       Authors        McGilton, Henry ; Mary Campione 
  1538. |       Publisher      Reading, MA : Addison-Wesley, c1992.
  1539. |       Description    xviii, 620 p. : ill. (some col.) ; 24 cm.
  1540. |       ISBN           0-201-63228-4     $29.95 ($38.95 Can.)
  1541. |       Library #      QA76.73 .P67 M34 1992
  1542. |   
  1543. |       PostScript by example is a tutorial for PostScript people at
  1544. |       all levels. It covers level 2 PostScript. The book starts
  1545. |       at novice level and works through to Level Two composite fonts,
  1546. |       patterns, forms, color, halftones, Display PostScript rectangle
  1547. |       operators and text operators. It contains a chapter on practical
  1548. |       issues of downloading fonts, talking to printers, and error 
  1549. |       handling. 620 pages containing over 500 fragments of PostScript
  1550. |       code and over 750 illustrations. A long-awaited ``upgrade''
  1551. |       to the Blue Book. 
  1552. |       Henry McGilton can be reached by email as henry@trilithon.com. 
  1553. |       Mary Campione can be reached by email as mem@taranis.com. 
  1554. |       A disk containing 13,000 lines of PostScript code from the book 
  1555. |       can be ordered separately for $ 20 from: Trilithon Software, Two 
  1556. |       Ohlone, Portola Valley, CA 94028, U.S.A. 
  1557. |   
  1558. |       Or, send email to info@trilithon.mpk.ca.us. 
  1559.   
  1560.  
  1561.   
  1562.    A postscript cookbook.
  1563.         Author        Thomas; Barry 
  1564.         Publisher     New York : Van Nostrand Reinhold, 1988. 
  1565.         Description   vii, 144 p. : ill. ; 24 cm.
  1566.         ISBN          0-442-23686-7     $9.98
  1567.         Library #     QA76.73 .P67 T48 1988
  1568.   
  1569.  
  1570.   
  1571. |  PostScript screening : Adobe accurate screens.
  1572. |       Author        Fink, Peter
  1573. |       Publisher     Mountain View, CA : Adobe Press, c1992.
  1574. |       Description   xvi, 175 p. : ill. ; 25 cm.
  1575. |       ISBN          0-672-48544-3 (pbk.)
  1576. |       Library #     T385 .F55 1992
  1577. |   
  1578. |       Explains in detail all the issues and specifically covers Adobe 
  1579. |       Accurate Screens -- Adobes' own screening technology. Peter Fink 
  1580. |       is an expert on the subject of halftone screens as they relate
  1581. |       to color issues. 
  1582.   
  1583.  
  1584.   
  1585. |  PostScript, Eine Umfassende Einfuhrung in die Programmierung
  1586. |       Author        Wilfred Soker
  1587. |       Publisher     Vieweg & Sohn Verlag GmbH, Postfach 5829,
  1588. |                     D-6200, Wiesbaden 1, Germany
  1589. |       ISBN          3-528-14711-3
  1590.   
  1591.  
  1592.   
  1593.    PostScript font handbook - a directory of type 1 fonts. Rev. ed.
  1594.         Authors       Grosvenor, Jonathan editor ; Kaye Morrison,
  1595.                       Alexandia Pim 
  1596.         Publisher     Reading, MA : Addison-Wesley, c1992. 
  1597.         Description   x, 425 p. : ill ; 24 cm.
  1598.         ISBN          0-201-56893-4     $24.95 ($31.95 Can.)
  1599.         Library #     Z250.7 .P67 1992
  1600.   
  1601.  
  1602.   
  1603.    PostScript fuer Workstations 
  1604.         Author        Vollenweider, Peter  (rzuvo@rzu.unizh.ch) 
  1605.         Publisher     Reading, MA : Addison-Wesley, 1992. 
  1606.         ISBN          3-89319-459-2 
  1607.    
  1608.     geschrieben. Es beschreibt
  1609.         PostScript fuer Workstations, mit Display PostScript, PostScript 
  1610.         2, und Farben. 
  1611.         This book is written in German. It describes using PostScript on 
  1612.         workstations. It covers Display PostScript, PostScript Level 2, 
  1613.         and colors. 
  1614.   
  1615.   
  1616.    PostScript Language Program Design.
  1617.    [The Green Book]
  1618.         Author        Adobe Systems Incorporated ; Glenn Reid
  1619.         Publisher     Reading , MA : Addison-Wesley, c1988 
  1620.         Description   xii, 224 p. ; 23 cm.
  1621.         ISBN          0-201-14396-8 (pbk.)     $22.95
  1622.         Library #     QA76.73 .P67 R45 1988 
  1623.        
  1624.         PostScript Language Program Design is intended to teach the
  1625.         fundamentals of designing PostScript language programs and
  1626.         to show how the language works, so the your programs will be
  1627.         fast, well-behaved, easy to understand, and portable. 
  1628.         Code Examples: $ 15 from the developer support hotline. Free
  1629.         from the Adobe mail server (see Section 6, ``About Adobe''). 
  1630.   
  1631.   
  1632.    PostScript Language Reference Manual. 1st ed. 
  1633.    [The Old Red Book] 
  1634.         Author        Adobe Systems Inc. 
  1635.         Publisher     Reading, MA : Addison-Wesley, 1985. 
  1636.         Description   ix, 299 p. : ill. ; 24 cm.
  1637.         ISBN          0-201-10174-2 
  1638.         Library #     QA76.73 .P67 P67 1986
  1639.    
  1640.         The first edition of the reference manual. It describes 
  1641.         PostScript level 1 only. It is a subset of the PostScript level 
  1642.         2 book, but is still more common and costs less. 
  1643.   
  1644.   
  1645.    PostScript language reference manual. 2nd ed.
  1646.    [The Big Red Book] 
  1647.         Author        Adobe Systems Incorporated ; [authors, Ed Taft,
  1648.                       Jeff Walden ; editing, Jeff Walden, Paul Engstrom
  1649.                       ; illustration Carl Yoshihara, Wendy Ball,
  1650.                       Dayna Portfield]
  1651.         Publisher     Reading, MA : Addison-Wesley, c1990 
  1652.         Description   viii 764 p. : ill. 24 cm.
  1653.         ISBN          0-201-18127-4     $28.95 ($37.95 Can.)
  1654.         Library       QA76.73 .P67 P67 1990 
  1655.    
  1656.         PostScript language reference manual is the book that defines
  1657.         the PostScript language. The second edition not only defines 
  1658.         Level 1 PostScript, but also encompasses the color, composite
  1659.         font, file system, and DPS extensions and the PostScript 
  1660.         language Level 2. 
  1661.   
  1662.   
  1663.    PostScript language tutorial and cookbook.
  1664.    [The Blue book]
  1665.         Author        Adobe Systems Incorporated 
  1666.         Publisher     Reading, MA : Addison Wesley, 1985
  1667.         Description   x, 243 p. : ill. ; 24 cm.
  1668.         ISBN          0-201-10179-3 (pbk.)      $16.95
  1669.         Library #     QA76.73 .P67 P68 1985 
  1670.    
  1671.         PostScript language tutorial and cookbook is the most common
  1672.         tutorial book on PostScript. It provides an easy, informal
  1673.         introduction to the PostScript language and graphics primitives.
  1674.         The cookbook is a collection of programs that are offered as 
  1675.         examples of PostScript usage. These samples have been chosen 
  1676.         both as illustrations of the functional range of PostScript
  1677.         and as useful ingredients for inclusion in application packages. 
  1678.         Code Examples: $ 15 from the developer support hotline. Free 
  1679.         from the Adobe mail server (see Section 6, ``About Adobe''). 
  1680.   
  1681.   
  1682.    PostScript programmer's reference guide : featuring PhoenixPage.
  1683.         Author        Holzgang, David A.
  1684.         Publisher     Glenview, IL : Scott, Foresman, c1989
  1685.         Description   x, 486 p. : ill. ; 23 cm.
  1686.         ISBN          0-673-38574-4     $24.95 
  1687.         Library #     QA76.73 .P67 H64 1989
  1688.    
  1689.         An authoritative guide for programmers, developers, or 
  1690.         anyone who wants to get the most out of PostScript. It offers 
  1691.         clear instructions, a complete language reference section, and a 
  1692.         cookbook of hands-on sample routines. (avail for $ 20 extra on 
  1693.         disk) ... It includes complete information on PhoenixPage/PS, 
  1694.         Phoenix Technologies' fully PostScript-compatible language. 
  1695.   
  1696.   
  1697.    Programming the display PostScript system with NeXTSTEP. 
  1698.    [The Purple Book] 
  1699.         Author        Adobe Systems Incorporated ; [author Ken Fromm] 
  1700.         Publisher     Reading, MA : Addison-Wesley, c1992
  1701.         Description   xxvii, 380 p. ill. ; 22 cm.
  1702.         ISBN          0-201-58135-3     $26.95 ($34.95)
  1703.         Library #     QA76.73 .P67 P76 1991
  1704.    
  1705.         Written for the NeXT programming environment; however, much of 
  1706.         the information it contains applies to all Display PostScript 
  1707.         developers. The book explains the language extensions commonly 
  1708.         used within applications, describes many of the key aspects of 
  1709.         the PostScript language imaging model, and provides a framework 
  1710.         for creating Display PostScript language applications. 
  1711.   
  1712.  
  1713.   
  1714.    Programming the Display PostScript System with X.
  1715.         Author: Adobe Systems Inc. 
  1716.         Publisher: Addison-Wesley 
  1717.         Cost: $ 26.95 
  1718.    
  1719.         Written specifically for developers using the X Window System. 
  1720.         It is intended to help X application developers improve quality, 
  1721.         optimize performance, and minimize development cost. Featuring a 
  1722.         Programming Guide with advice on how to write robust, efficient 
  1723.         Display PostScript applications, the book also contains a new 
  1724.         Toolkit manual and the standard Display PostScript reference 
  1725.         manuals. 
  1726.   
  1727.   
  1728.    Programming the LaserWriter 
  1729.    (Macintosh inside out series)
  1730.         Author        Holzgang, David A.
  1731.         Publisher     Reading, MA : Addison-Wesley, c1991 
  1732.         Description   xxv, 439 p. ill. ; 23 cm.
  1733.         ISBN          0-201-57068-8     $24.95
  1734.         Library #     TK7887.7 .H65 1991
  1735.   
  1736.   
  1737.    Rapid reference guide to System 7, the LaserWriter Family, 
  1738.    and Hypercard. (Business One Irwin rapid reference series)
  1739.         Author        Fraase, Michael  
  1740.         Publisher     Homewood, IL : Business One Irwin, c1993
  1741.         Description   xx, 282 p. : ill. ; 22 cm.
  1742.         ISBN          1556239025     $24.95 
  1743.         Library #     QA76.76 .O63 F375 1993
  1744.   
  1745.   
  1746.    Real world PostScript : techniques from PostScript professionals.
  1747.    [The Orange Book]
  1748.         Author        Roth, Stephen F., editor
  1749.         Publisher     Reading, MA : Addison-Wesley, c1988. 
  1750.         Description   xiv, 383 p. [4] p. of plates : ill. (some col.) ; 
  1751.                       24 cm.
  1752.         ISBN          0-201-06663-7 (pbk.)     $22.95 
  1753.         Library #     Z286 .D47 R4 1988 
  1754.    
  1755.         A collection of articles dealing with ``real world'' PostScript 
  1756.         language issues and specific applications such as font creation,
  1757.         color separation, kerning, halftoning, various other topics. 
  1758.         It contains a text formatter written in PostScript, and 
  1759.         concentrates on doing very sophisticated things with fonts and 
  1760.         dictionaries. 
  1761.    
  1762.         Short overview of chapters: 
  1763.    
  1764.         PostScript As A Design Tool; PostScript As A Programming 
  1765.         Language; Writing Device Independent PostScript; Kerning, 
  1766.         Tracking And Letterspacing, Precise Character Bounding Boxes; 
  1767.         Building Fonts; Building Smart Fonts; Font Encoding Vector 
  1768.         Compatibility; Building A PostScript Typeface; PostScript Color 
  1769.         Operations; PostScript Color Separations; A Spread From Graphic 
  1770.         Perspective; A PostScript Four-Color Poster; Graphing And 
  1771.         Typesetting With PostScript; The Evolution Of A Complex 
  1772.         Geometric Logo 
  1773.   
  1774.   
  1775.    Running PostScript from MS-DOS. 1st ed.
  1776.         Author        Glover, Gary
  1777.         Publisher     Blue Ridge Summit, PA : Windcrest, c1989. 
  1778.         Description   ix, 209 p. : ill. ; 28 cm.
  1779.         ISBN          0-8306-2998-X     $21.60
  1780.         Library #     QA76.73 .P67 G56 1989
  1781.    
  1782.         Provides a good and brief introduction to PostScript and has 
  1783.         lots of useful information on printing PostScript from PCs. 
  1784.   
  1785.  
  1786.   
  1787.    Taking advantage of PostScript.
  1788.         Author        Sherman, John F. 
  1789.         Publisher     Dubuque, IA : Wm. C. Brown Publishers, c1992
  1790.    ill. ; 28 cm.
  1791.         ISBN          0-697-14032-6      
  1792.         Library #     QA76.73 .P67 S54 1992
  1793.    
  1794.         Graphically and visually oriented and includes a section 
  1795.         on PostScript Level 2. 
  1796.   
  1797.  
  1798.   
  1799. |  Terminal Buch, PostScript Fonts und Programmiertechnik
  1800. |       Author        Thomas Merz
  1801. |       Publisher     R. Oldenburg Verlag, Munchen, Germany
  1802. |       ISBN          3-486-21674-0
  1803.   
  1804.  
  1805.   
  1806.    Thinking in PostScript.
  1807.         Author        Reid, Glenn C.
  1808.         Publisher     Reading, MA : Addison-Wesley, c1990
  1809.         Description   xiii, 221 p. : ill. ; 24 cm.
  1810.         ISBN          0-201-52372-8     $22.95 ($29.95 Can.)
  1811.         Library #     QA76.73 .P67 R46 1990
  1812.    
  1813.         Guide to developing programming techniques and to learning 
  1814.         how to use the PostScript tool kit. In this book you can find 
  1815.         some useful techniques even if you think of yourself as an 
  1816.         expert PS programmer. It overlaps very little with existing 
  1817.         material. You can find there numerous practical examples in all 
  1818.         areas of PS language programming, including the Display PS 
  1819.         system. In this volume you will also find: (a) never-before-
  1820.         published information on the PS language (b) useful algorithms 
  1821.         for loops, conditionals, and I/O (c) detailed coverage of files, 
  1822.         strings, and dictionaries (d) simple and elegant programming 
  1823.         techniques 
  1824.    
  1825.         The books comes recommended by many. There are also exercises 
  1826.         after each Chapter with the results at the end of the book. You 
  1827.         can really find examples how to define new useful operators or 
  1828.         procedures which you cannot find in the Adobe books. 
  1829.    
  1830.         To get the examples from the book for free, send email to the 
  1831.         author, glenn@rightbrain.com. 
  1832.   
  1833.  
  1834.   
  1835.    Understanding PostScript. 3rd ed.
  1836.         Author        Holzgang, David A. 
  1837.         Publisher     San Francisco : Sybex, c1992 
  1838.         Description   xxxiii, 515 p. : ill. 23 cm.
  1839.                       "For PostScript levels 1 & 2"--Cover p. [1]
  1840.         ISBN          0-7821-1059-2     $29.95
  1841.         Library #     QA76.73 .P67 H65 1992
  1842.   
  1843.   
  1844.    Understanding PostScript Programming. 2nd ed.
  1845.         Author        Holzgang, David A.
  1846.         Publisher     San Francisco : Sybex, 1988
  1847.         Description   xxxii, 472 p. : ill. ; 23 cm.
  1848.         ISBN          0-89588-566-2 
  1849.         Library #     QA76.73 .P67 H65 1988
  1850.   
  1851.  
  1852.   
  1853.    The Verbum book of PostScript illustration. 1st ed.
  1854.    (The Verbum electronic art & design series.)
  1855.         Author        Gosney, Michael ; Linnea Dayton, Janet Ashford
  1856.         Publisher     Redwood City, CA : M&T Books, 1990 
  1857.         Description   vii, 213 p. : ill. (some col.) ; 28 cm.
  1858.         ISBN          1-55851-089-3     $29.95
  1859.         Library #     QA76.73 .P67 G57 1990
  1860.   
  1861.  
  1862. Subject: 5.2 Publishers 
  1863.  
  1864.     Most of the above books should be available in any big bookstore 
  1865.     that has a computer section. Or contact the publishers: 
  1866.  
  1867.  
  1868.  
  1869.     Addison-Wesley, 
  1870.       Retail Sales Group, Addison-Wesley Publishing Company, Inc., One 
  1871.       Jacob Way, Reading, MA 01867, U.S.A. Phone 800-447-2226 or 
  1872.       617-944-3700, Fax 617-942-1117. 
  1873.  
  1874.  
  1875.     Addison-Wesley Publishing Company, 
  1876.       2200 Powell Street, Emeryville, California 94608 U.S.A. Phone 
  1877.       (510) 601-4000 
  1878.  
  1879.  
  1880.     Adobe Press 
  1881.       , Adobe Systems, Inc. 1585 Charleston Road, Mountain View, CA 
  1882.       94039, Phone 415-961-4400. Toll free 800-833-6687. Adobe Press is 
  1883.       partially a misnomer, it is not a independent publishing unit but 
  1884.       more like a customer or documentation service of Adobe Systems, 
  1885.       Inc. The Red, Blue, Green, and Black Books can be purchased from 
  1886.       Adobe Systems by calling toll free, 800-83-FONTS (800-833-6687). 
  1887.  
  1888.  
  1889. |   Busn One Irvin 
  1890. |     , Business 1 Irvin, Division of Richard D. Irvin, Inc. 1818 Ridge 
  1891. |     Road, Homewood IL, 60430. Phone 708-798-6000. Toll free 
  1892. |     800-634-3966. Imprint: Pub. by Dow Jones (Dow Jones Books). 
  1893.  
  1894.  
  1895.     Bantam 
  1896.       , Bantam Books, Inc. Division of Bantam Doubleday Dell. 666 Fifth 
  1897.       Avenue, New York, NY 10103. Phone 212-765-6500. Toll free 
  1898.       800-223-6834. 
  1899.  
  1900.  
  1901.     Dow Jones Irvin 
  1902.       See Busn One Irvin. 
  1903.  
  1904.  
  1905.     Hayden Books, 
  1906.       Imprint of Sams. 
  1907.  
  1908.  
  1909.     M & T Bks, 
  1910.       M & T Books. 501 Galveston Drive, Redwood City, CA 94063-4728. 
  1911.       Phone 415-366-3600. Toll free 800-533-4372 ; 800-356-2002. 
  1912.  
  1913.  
  1914.     Micro Publishing Press 
  1915.       21150 Hawthorne Boulevard, Suite 104, Torrance, California 90503 
  1916.       U.S.A. Phone 213-371-5787. 
  1917.  
  1918.  
  1919.     Peachpit Press, 
  1920.       1085 Keith Ave., Berkeley, CA 94708, U.S.A. Phone 415-527-8555. 
  1921.       Toll free 800-283-9444. 
  1922.  
  1923.  
  1924.     Prentice Hall, 
  1925.       Prentice Hall Press. Division of Simon Schuster, Inc. 15 Columbus 
  1926.       Circle, New York, NY 10023. Phone 201-767-5937. Toll free 
  1927.       800-223-2348. Orders to: 200 Old Tappan Road, Old Tappan, NJ 
  1928.       07675. 
  1929.  
  1930.  
  1931.     Sams, 
  1932.       Division of Macmillan Computer Publishing. 11711 North College 
  1933.       Avenue, Suite 140, Carmel, IN 46032. Phone 317-573-2500. Toll 
  1934.       free 800-257-5755. Orders to Macmillan Computer Publishing, 8219 
  1935.       Northwest Boulevard, Indianapolis, IN 46278. Imprint: Hayden 
  1936.       Books 
  1937.  
  1938.  
  1939.     Scott, Foresman and Company, 
  1940.       Subsidiary of HarperCollins Publishing Co. 1900 East Lake Avenue, 
  1941.       Glenview, IL 60025. Phone 708-729-3000. 
  1942.  
  1943.  
  1944. |   Sybex, Inc. 
  1945. |     2021 Challenger Drive, Alameda, CA 94501. Phone 415-523-8223. 
  1946. |     Toll free 800-227-2346. Imprint: Sybex Computer Books 
  1947.  
  1948.  
  1949.     TAB Books, 
  1950.       Division of McGraw-Hill Inc. P.O. Box 40, Blue Ridge Summit, PA 
  1951.       17294-0850. Phone 717-794-2191. Toll free 800-822-8138 ; 
  1952.       800-233-1128. Imprint: Windcrest Books 
  1953.  
  1954.  
  1955.     Windcrest Books 
  1956.       Imprint of TAB Books. 
  1957.  
  1958.  
  1959.     Van Nostrand Reinhold, 
  1960.       Division of Thomson Publishing Corp. 115 Fifth Avenue, New York, 
  1961.       NY, 10003. Phone 212-254-3232. Toll free 800-926-2664. Orders to: 
  1962.       7625 Empire Dr., Florence, KY 41022. Phone 606-525-6600 
  1963.  
  1964.  
  1965. |   Wm C Brown, 
  1966. |     Brown, William C. Publishing. 2460 Kerper Boulevard, Dubuque, IA 
  1967. |     52001. Phone 319-588-1451. Toll free 800-338-5578. 
  1968.  
  1969.  
  1970. Subject: 6 About Adobe 
  1971.  
  1972.     PostScript was created by Adobe Systems Incorporated, which offers 
  1973.     information and sells programs pertaining to PostScript. 
  1974.  
  1975.     Currently the only large PostScript company that I have information 
  1976.     on is Adobe. I would be happy to include information about others. 
  1977.  
  1978.  
  1979. Subject: 6.1 How do I get in touch with Adobe? 
  1980.  
  1981.   
  1982.   Adobe Systems Incorporated      Main phone: +1-415-961-4400
  1983.   1585 Charleston Road            Main FAX:   +1-415-961-3769
  1984.   P.O. Box 7900
  1985.   Mountain View, CA 94039-7900
  1986.   
  1987.  
  1988.     If you want technical help using Adobe retail products (e.g. ATM, 
  1989.     Adobe Illustrator, Adobe Fonts): Adobe forum on CompuServe, call 
  1990.     1-408-986-6500 (for Macintosh) or 1-408-986-6530 (for Windows, 
  1991.     Unix) Also use this number to report bugs in retail products. Adobe 
  1992.     also has an automated tech support line, which will fax technical 
  1993.     notes and product literature to you, and attempt to answer common 
  1994.     questions via a menu-driven system. That number is 1-800-235-0078. 
  1995.  
  1996.     For sales information on Adobe retail products (prices, catalogues, 
  1997.     etc.), call +1-800-235-0078 (fax-back brochures) or +1-800-833-6687 
  1998.     (applications sales) 
  1999.  
  2000.     The Developer's Hotline is +1-415-961-4111 (Voicemail) (note: 
  2001.     members have priority, but they'll take questions from general 
  2002.     public.) Also use this number for information about the ADA or 
  2003.     Adobe SDK's. 
  2004.  
  2005.     To suggest product enhancements, write or fax to ``Product Manger, 
  2006.     product name' at address above. 
  2007.  
  2008.     In Europe: Adobe Systems BV, Europlaza, Hoogoorddreef 51a, 1101 BE 
  2009.     Amsterdam Z-O, NETHERLANDS. TEL +31-20-65-11-200. FAX 
  2010.     +31-20-65-11-300. 
  2011.  
  2012.     In the eastern United States: Adobe Sys. Inc., 24 New England 
  2013.     Executive Park, Burlington MA 01803. TEL +1-617-273-2120. FAX 
  2014.     +1-617-273-2336. 
  2015.  
  2016.     In Japan: Adobe Systems Japan, Swiss Bank House, 4-1-8 Toranomon, 
  2017.     Minato ku, Tokyo 105 JAPAN. TEL +81-3-3437-8950. FAX 
  2018.     +81-3-3437-8968. 
  2019.  
  2020.  
  2021. or me? 
  2022.  
  2023.     Adobe is just one of many companies producing products for 
  2024.     PostScript, but it does produce a lot of the best. 
  2025.  
  2026.     Adobe offers two resources for software developers. 
  2027.  
  2028.    1. Membership in the Adobe Developers Association (ADA) ( $ 
  2029.       195/year) 
  2030.  
  2031.    2. PostScript Language Software Development Kit (SDK) ( $ 500, $ 250 
  2032.       for ADA) 
  2033.  
  2034.     The Developer's Association is Adobe's way of knowing who has a 
  2035.     serious interest in technical information. Membership includes 
  2036.     monthly technical newsletter, phone technical support, discounts on 
  2037.     software and hardware. Membership is $ 195/year for each 
  2038.     individual. 
  2039.  
  2040.     The PostScript Language Software Development Kits collect all 
  2041.     Adobe's technical literature for a given platform into a single 
  2042.     package. There are four versions, for the Mac, MS-DOS/Windows, 
  2043.     NeXTStep, and X/Windows. Each SDK is $ 500 list, $ 250 for ADA 
  2044.     members. 
  2045.  
  2046.     A selection of free technical documents is available from Adobe's 
  2047.     file server and anonymous ftp archive (ftp.adobe.com). It includes 
  2048.     specs (including the aforementioned EPS specification), some tech 
  2049.     notes, sample programs, a large collection of AFM files and PPD 
  2050.     files. For more information on the file server, send the one-word 
  2051. |   message ``help'' to ps-file-server@adobe.com. These documents are 
  2052. |   also available by mail, although they are not necessarily free; 
  2053.     call the Developers Line and ask for the documents catalog. 
  2054.  
  2055.     The contents of both ps-file-server and the ftp archive are 
  2056.     nominally the same, although they are currently maintained on two 
  2057.     separate machines. 
  2058.  
  2059.  
  2060.  
  2061. Newsgroups: comp.lang.postscript,comp.answers,news.answers
  2062. Path: bloom-beacon.mit.edu!news.media.mit.edu!uhog.mit.edu!sgiblab!brunix!doorknob.cs.brown.edu!jgm
  2063. From: Jonathan Monsarrat <postscript-request@cs.brown.edu>
  2064. Subject: PostScript monthly FAQ v2.2 12-26-93 [07-10 of 11]
  2065. Content-Type: text
  2066. Message-ID: <JGM.94Apr11234603@chekov.cs.brown.edu>
  2067. Followup-To: poster
  2068. Summary: Useful facts about the PostScript graphics programming language
  2069. Sender: news@cs.brown.edu
  2070. Supersedes: <JGM.93Apr16124153@vegas.cs.brown.edu>
  2071. Reply-To: postscript-request@cs.brown.edu (PostScript FAQ comments address)
  2072. Organization: Brown University Department of Computer Science
  2073. Mime-Version: 1.0
  2074. Date: Tue, 12 Apr 1994 04:46:03 GMT
  2075. Approved: news-answers-request@MIT.Edu
  2076. Expires: Thu, 12 May 1994 00:00:00 GMT
  2077. Lines: 858
  2078. Xref: bloom-beacon.mit.edu comp.lang.postscript:9152 comp.answers:4868 news.answers:17934
  2079.  
  2080. Archive-name: postscript/faq/part7-10
  2081. Last-modified: 1993/12/26
  2082. Version: 2.2
  2083.  
  2084.                               -- PostScript -- 
  2085.  
  2086.                             Answers to Questions 
  2087.  
  2088.                     (the comp.lang.postscript FAQ v2.2) 
  2089.  
  2090.                                Jon Monsarrat 
  2091.  
  2092.                               jgm@cs.brown.edu 
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.                      This FAQ is formatted as a digest. 
  2100.  
  2101.                 Most news readers can skip from one question 
  2102.  
  2103.                      to the next by pressing control-G. 
  2104.  
  2105.  
  2106.     Changes since the last version are marked with a '|' in the table 
  2107.     of contents and in the sections in the text-only format of the FAQ. 
  2108.  
  2109.     Now that there is Linux and NetBSD and BSD 386 UNIX IBM PC (and 
  2110.     clone) users can run any of the X-windows and UNIX programs in the 
  2111.     utilities section. See comp.os.linux. Also, there is now 
  2112.     GhostScript for the Macintosh. 
  2113.  
  2114.     Many thanks to Dan Carrigan for reformatting the books and 
  2115.     publishers section. 
  2116.  
  2117.     The utilities index from the comp.sources.postscript FAQ will be 
  2118.     posted in comp.lang.postscript now too. 
  2119.  
  2120.     Please help fix the FAQ! All comments should be mailed to 
  2121.     jgm@cs.brown.edu. My favorite way to receive a change suggestion is 
  2122.     when it is accompanied by a section of the FAQ that is edited and 
  2123.     mailed to me verbatim as an example. If you would like to 
  2124.     contribute, please read the section ``about the FAQ'' first. Thank 
  2125.     you! 
  2126.  
  2127.     Books and programs are referred to by name only. See the book 
  2128.     sections for book information, and the comp.sources.postscript FAQ 
  2129.     for a full list of all PostScript related programs. I have archived 
  2130.     a number of the small utilities in 
  2131.     wilma.cs.brown.edu:pub/postscript. You can get the 
  2132.     comp.sources.postscript FAQ from 
  2133.     wilma.cs.brown.edu:pub/comp.sources.postscript. 
  2134.  
  2135.     Related FAQs: comp.text, comp.text.tex, comp.fonts, comp.graphics, 
  2136.     comp.sys.mac.apps, comp.sources.postscript. 
  2137.  
  2138. Subject: 7 Programming in PostScript 
  2139.  
  2140.  
  2141. Subject: 7.1 What is PostScript level 2? 
  2142.  
  2143.     (See the Section 11, ``About PostScript 2''.) 
  2144.  
  2145.  
  2146. Subject: 7.2 Should I learn level 2 PostScript? 
  2147.  
  2148.     Yes, because Level Two will soon become the standard. Application 
  2149.     developers using PostScript need to become aware of the new 
  2150.     capabilities and how to take advantage of them. 
  2151.  
  2152.     There are many good books on PostScript 2. (See Section 5, 
  2153.     ``Books''.) 
  2154.  
  2155.  
  2156. Subject: 7.3 Where can I find examples of PostScript code? 
  2157.  
  2158.     Many other books on PostScript make example PostScript code 
  2159.     available. ``Thinking in PostScript'', by Glenn Reid, is the only 
  2160.     book I know of that allows its examples to be freely distributed. 
  2161.     (See Section 5, ``Books''.) 
  2162.  
  2163.     All the examples in ``the blue book'' are available from the Adobe 
  2164.     file server (See Section 5, ``Books''.) 
  2165.  
  2166.     See the question ``How can I browse through PostScript programs?'' 
  2167.     in the comp.sources.postscript FAQ. 
  2168.  
  2169.  
  2170. Subject: 7.4 What is the physical size of the page? 
  2171.  
  2172. |   This depends on what print medium you are using. Paper comes in a 
  2173. |   number of standard sizes: 
  2174. |
  2175. |  
  2176. |         Paper Size                      Dimension (in points)
  2177. |         ------------------------------  ---------------------
  2178. |         Comm #10 Envelope               297 x 684
  2179. |         C5 Envelope                     461 x 648
  2180. |         DL Envelope                     312 x 624
  2181. |         Folio                           595 x 935
  2182. |         Executive                       522 x 756
  2183. |         Letter                          612 x 792
  2184. |         Legal                           612 x 1008
  2185. |         Ledger                          1224 x 792
  2186. |         Tabloid                         792 x 1224
  2187. |         A0                              2384 x 3370
  2188. |         A1                              1684 x 2384
  2189. |         A2                              1191 x 1684
  2190. |         A3                              842 x 1191
  2191. |         A4                              595 x 842
  2192. |         A5                              420 x 595
  2193. |         A6                              297 x 420
  2194. |         A7                              210 x 297
  2195. |         A8                              148 x 210
  2196. |         A9                              105 x 148
  2197. |         B0                              2920 x 4127
  2198. |         B1                              2064 x 2920
  2199. |         B2                              1460 x 2064
  2200. |         B3                              1032 x 1460
  2201. |         B4                              729 x 1032
  2202. |         B5                              516 x 729
  2203. |         B6                              363 x 516
  2204. |         B7                              258 x 363
  2205. |         B8                              181 x 258
  2206. |         B9                              127 x 181 
  2207. |         B10                             91 x 127
  2208. |  
  2209. |   To determine what print mediums are available, check the PPD file 
  2210. |   for your printer, under the PageSize keyword. 
  2211.  
  2212.  
  2213. Subject: 7.5 What is the Imagable Area of the page 
  2214.  
  2215. |   The initial clipping path gives you the size of the imagable area. 
  2216. |   Use ``clippath pathbbox'' to get these coordinates. If you must 
  2217. |   know the size of the device's imageable area, use the sequence 
  2218. |   ``gsave initclip clippath pathbbox grestore'', but this will 
  2219. |   prevent an enclosing application from using the clippath to achieve 
  2220. |   some special effects (such as multiple pages per page). 
  2221. |
  2222. |   PPD files (see section 2 of the FAQ, printers) contain information 
  2223. |   on what paper sizes, as well as the Imagable Area for each, 
  2224. |   specific to each printer. A Postscript code fragment (called 
  2225. |   ``?ImageableArea'') is described in a PPD file, which determines 
  2226. |   the current Imageable Area for that printer. 
  2227.  
  2228.  
  2229. Subject: 7.6 Why can't I do a pathforall after a charpath ? 
  2230.  
  2231.     (See Section 4, ``Fonts'', question ``Why are Adobe fonts 
  2232.     hidden?''.) 
  2233.  
  2234.  
  2235. Subject: 7.7 How do I center a string of text around a point? 
  2236.  
  2237.     Level 1 PostScript has two operators that can extract information 
  2238.     about the metrics of characters: ``stringwidth'' and ``charpath''. 
  2239.  
  2240.     The ``stringwidth'' operator returns the advance width of its 
  2241.     string operand. This is the distance the current point would be 
  2242.     moved by a ``show'' operation on the same string. ``stringwidth'' 
  2243.     returns two numbers on the stack, representing the x and y 
  2244.     components of the advance width. Usually the y component is zero 
  2245.     because most fonts are displayed along a horizontal line, moving 
  2246.     the current point only in the x direction. 
  2247.  
  2248.     Also note that the ``stringwidth'' usually does not give an exact 
  2249.     measure of the area of the page that will be touched by its 
  2250.     operand. The letters can either project a little over the 
  2251.     boundaries or fall a little within (leaving a touch of whitespace). 
  2252.  
  2253.     If all that an application requires is horizontal centering of a 
  2254.     long string of text, the result returned by ``stringwidth'' is 
  2255.     sufficient. A common technique is 
  2256.  
  2257.   
  2258.           x y moveto
  2259.           (string) dup stringwidth pop 2 div neg 0 rmoveto show
  2260.   
  2261.     (This code makes the assumption that the y component of advance 
  2262.     width is irrelevant.) 
  2263.  
  2264.     The ``charpath'' operator extracts the graphic shapes of its string 
  2265. state. 
  2266.     These shapes can then be processed by other PostScript operators. 
  2267.     To get the actual size of the area touched by a character a simple 
  2268.     approach is 
  2269.  
  2270.   
  2271.           gsave
  2272.           newpath
  2273.           0 0 moveto
  2274.           (X) false charpath flattenpath pathbbox
  2275.           grestore
  2276.   
  2277.     This code places four numbers on the stack, representing the 
  2278.     coordinates of the lower left and upper right corners of the 
  2279.     bounding box enclosing the character ``X'' rendered with the 
  2280.     current point at (0,0). Leaving the flattenpath out will cause it 
  2281.     to be less accurate, but it will take up less memory and be faster. 
  2282.  
  2283.     There are two things to be careful about when using the code shown 
  2284.     above: 
  2285.  
  2286.  
  2287.  
  2288.    1. There are severe limits on the size of the string operand, 
  2289.       related to the limit on the number of elements in a graphic path. 
  2290.       The PostScript Language Reference Manual recommends taking 
  2291.       ``charpath''s one character at a time. 
  2292.  
  2293.  
  2294.    2. If user space is rotated or skewed with respect to device space, 
  2295.       the result from ``pathbbox'' may be larger than expected; 
  2296.       ``pathbbox'' returns a rectangle oriented along the user space 
  2297.       coordinate axes, which fully encloses a (possibly smaller) 
  2298.       rectangle oriented along the coordinate axes of device space. If 
  2299.       user space is rotated at an integer multiple of 90 degrees these 
  2300.       two rectangles will be the same, otherwise the rectangle in user 
  2301.       space will be larger. 
  2302.  
  2303.     So, to center text vertically one must get the bounding boxes of 
  2304.     all the characters in the string to be displayed, find the minimum 
  2305.     and maximum y coordinate values, and use half the distance between 
  2306.     them to displace the text vertically. This still may not do a very 
  2307.     good job, since this provides centering based on extrema, not on 
  2308.     the optical center of the string (which is more related to a sort 
  2309.     of ``center of mass'' of the text). 
  2310.  
  2311.     If an application does this repeatedly, it would be wise to store 
  2312.     the bounding boxes in an array indexed by character code, since 
  2313.     ``charpath'' is a slow operation. 
  2314.  
  2315.     Font metric information is available outside of a PostScript 
  2316.     printer in font metrics files, available from the font vendor. A 
  2317.     program generating PostScript output can obtain metrics from these 
  2318.     files rather than extracting the metrics in the printer. 
  2319.  
  2320.  
  2321. Subject: 7.8 How can I concatenate two strings together? 
  2322.  
  2323.   
  2324.   %% string1 string2 append string
  2325.   % Function: Concatenates two strings together.
  2326.   /append {
  2327.            2 copy length exch length add  % find the length of the new.
  2328.            string dup     % string1 string2 string string
  2329.            4 2 roll       % string string string1 string2
  2330.            2 index 0 3 index
  2331.            % string string string1 string2 string 0 string1
  2332.            putinterval    % stuff the first string in.
  2333.            % string string string1 string2
  2334.            exch length exch putinterval
  2335.   } bind def
  2336.   
  2337.  
  2338. Subject: 7.9 What do I do when I get stack overflow/underflow? 
  2339.  
  2340.     These errors are among the most common in PostScript. 
  2341.  
  2342.     When I get a stack overflow, that is usually a sign that a routine 
  2343.     is leaving an object on the stack. If this routine gets called 2000 
  2344.     times, it leaves 2000 objects on the stack, which is too many. 
  2345.  
  2346.     When I get a stack underflow, that is a sign that either: (A) one 
  2347.     of the routines in the program doesn't work, and never has or (B) 
  2348.     one of the routines in the program works, but expects to be called 
  2349.     with some arguments left on the stack. 
  2350.  
  2351.     There is no such thing as a PostScript debugger right now. For now, 
  2352.     the best that you can do to debug your program is to put in lots of 
  2353.     print statements. Learn to use the PostScript pstack command, and 
  2354.     use an online interpreter so you don't have to run to the printer 
  2355.     for each debugging cycle. 
  2356.  
  2357.     Use an error handler to learn more about what exactly is happening 
  2358.     when your program crashes. (see the comp.sources.postscript FAQ for 
  2359.     a list of all PostScript related programs.) 
  2360.  
  2361.     If your code has never worked yet (i.e. you are still writing it) 
  2362.     then I find that it helps to put little comments in the margin 
  2363.     about the state of the stack. Like this: 
  2364.  
  2365.   
  2366.          Heart pathbbox             % lowerx lowery upperx uppery
  2367.          exch 4 -1 roll             % lowery uppery upperx lowerx
  2368.   
  2369.   
  2370.     I generally put these comments in originally, and then take them 
  2371.     out when the program works. Maybe this is a bad practice, in case I 
  2372.     ever want to go back and look at the code to modify it!! 
  2373.  
  2374.  
  2375. Subject: 7.10 How can I print in landscape mode? 
  2376.  
  2377.     Landscape (the opposite of portrait) means that the page is turned 
  2378.     on its side. You can redefine showpage in terms of the current 
  2379.     definition of showpage. 
  2380.  
  2381.     Do something like: 
  2382.  
  2383.   
  2384.   /oldshowpage /showpage load def
  2385.   
  2386.   90 rotate llx neg ury neg translate   % for the first page
  2387.   /showpage
  2388.   {
  2389.           oldshowpage
  2390.           90 rotate llx neg ury neg translate
  2391.   } def
  2392.   
  2393.     This won't work if the PostScript file you're editing uses 
  2394.     initgraphics or grestoreall. Also note that the method described 
  2395.     (redefining showpage) does not conform to the document structuring 
  2396.     conventions. The Adobe recommended method involves performing the 
  2397.     transformaton as part of the setup for each page. 
  2398.  
  2399.  
  2400. Subject: 8 Computer-specific PostScript 
  2401.  
  2402.     This section describes PostScript information specific to a 
  2403.     particular type of computer or operating system. 
  2404.  
  2405.  
  2406. Subject: 8.1 Sun Workstations 
  2407.  
  2408.     What is NeWS? 
  2409.  
  2410. |   NeWS (R.I.P.) was Sun Microsystems PostScript-based window system 
  2411. |   for the Sun Workstation. NeWS was a project within Sun (started 
  2412. |   around 1985) to create a window system to supplant SunView (a very 
  2413. |   successful kernel-based window system). NeWS was a client-server 
  2414. |   model window system (like X) but among many of NeWS novel features 
  2415. |   was the use of PostScript as the language to describe the 
  2416. |   appearance of objects on the screen. NeWS had many features in 
  2417. |   common with Display PostScript, but NeWS predates Adobe Display 
  2418. |   PostScript and was neither connected with Adobe Display PostScript 
  2419. |   nor endorsed by Adobe. NeWS was not an Adobe product, nor was it a 
  2420. |   Sun/Adobe joint venture. 
  2421. |
  2422. |   As of October 1992, Sun management signed a deal with Adobe to 
  2423. |   adopt Display PostScript for the Sun. In 1993, Sun finally dropped 
  2424. |   NeWS altogether. The Sun window system is supposed to start 
  2425. |   shipping a Display PostScript environment in late 1993. 
  2426.  
  2427.     And how does PostScript run on them? 
  2428.  
  2429.     PostScript runs on NeWS, although NeWS was not a fully-compliant 
  2430.     PostScript interpreter. There were incompatibilities between the 
  2431.     NeWS PostScript interpreter and ``official'' PostScript 
  2432.     interpreters as defined by Adobe and the Apple LaserWriter family 
  2433.     of printers, such that many PostScript files which would print fine 
  2434.     on a LaserWriter would not render under NeWS. The most critical 
  2435.     incompatibility was lack of support for Adobe Type 1 fonts, Sun 
  2436. |   having gone with their own font format known as F3. F3 fonts have 
  2437. |   now gone the way of the zumbooruk and will be supplanted by Type 1 
  2438. |   fonts. 
  2439.  
  2440.  
  2441. Subject: 8.2 IBM PC 
  2442.  
  2443.     You can find nenscript for OS/2 1.x--2.0 and MSDOS on 
  2444.     ftp-os2.nmsu.edu in pub/uploads/nensc113.zip. 
  2445.  
  2446.     There are rumors that Word Perfect and Microsoft Word don't produce 
  2447.     ``clean'' PostScript that follows the DSC conventions (See Section 
  2448.     9, ``Encapsulated PostScript''). This means that a lot of 
  2449.     PostScript utilities like Ghostview and psnup, etc., that require 
  2450.     the DSC conventions, will not work on them. 
  2451.  
  2452.     Creating a PostScript file from MS Word 
  2453.  
  2454.     Install the LaserWriter driver that comes with Windows.In the 
  2455.     printer setup, select a PostScript printer. Then click on the setup 
  2456.     button to get that pop-up. Then clik the Options button. Then 
  2457.     select the print to Encapsulated PostScript File. If you don't 
  2458.     specify a file name, Word will prompt you for one when you tell it 
  2459.     to print. 
  2460.  
  2461.     When printing Microsoft Windows files that have been captured on a 
  2462.     PC's LPT port, you mostly need to define two ctrl-d's in a row as 
  2463.     well to remove all of them in the document: 
  2464.  
  2465.   
  2466.   (\004\004) cvn {} def
  2467.   
  2468.  
  2469. Subject: 8.3 Apple Macintosh 
  2470.  
  2471.     For more details about printing with the Macintosh, read the 
  2472.     comp.sys.mac.apps FAQ. 
  2473.  
  2474.     How can I convert a PostScript file created with a UNIX program to 
  2475.     the Mac? 
  2476.  
  2477.     A way that is clumsy, but works, is this: 
  2478.  
  2479.  
  2480.  
  2481.    1. Display the UNIX-based PostScript file on screen 
  2482.  
  2483.  
  2484.    2. Use window dumping facility to get a bitmap file 
  2485.  
  2486.  
  2487.    3. Convert the above bitmap file to TIFF format and then export it 
  2488.       to Adobe Illustrator on the Mac. 
  2489.  
  2490.     The PostScript section of the FAQ for the Macintosh newsgroup 
  2491.     comp.sys.mac.apps (maintained by Elliotte Harold) answers the 
  2492.     following questions: 
  2493.  
  2494.  
  2495.  
  2496.     * How do I make a PostScript file? 
  2497.  
  2498.  
  2499.     * How do I print a PostScript file? 
  2500.  
  2501.  
  2502.     * Why won't my PostScript file print on my mainframe's printer? 
  2503.  
  2504.       Full documentation of this process provided with a utility called 
  2505.       macps. 
  2506.  
  2507.  
  2508.     * Why are my PostScript files so big? 
  2509.  
  2510.  
  2511. Subject: 9 Encapsulated PostScript 
  2512.  
  2513.  
  2514. Subject: 9.1 What is Encapsulated PostScript? 
  2515.  
  2516.     Encapsulated PostScript (EPS) is a standard format for importing 
  2517.     and exporting PostScript language files in all environments. It is 
  2518.     usually a single page PostScript language program that describes an 
  2519.     illustration. The purpose of the EPS file is to be included as an 
  2520.     illustration in other PostScript language page descriptions. The 
  2521.     EPS file can contain any combination of text, graphics, and images. 
  2522.     An EPS file is the same as any other PostScript language page 
  2523.     description, with some restrictions. 
  2524.  
  2525.     EPS files can optionally contain a bitmapped image preview, so that 
  2526.     systems that can't render PostScript directly can at least display 
  2527.     a crude representation of what the graphic will look like. There 
  2528.     are three preview formats: Mac (PICT), IBM (tiff), and a platform 
  2529.     independent preview called EPSI. 
  2530.  
  2531.     An EPS file must be a conforming file, that is, it must conform to 
  2532.     the Adobe Document Structuring Conventions (DSC). At a minimum, it 
  2533.     must include a header comment,%!PS-Adobe-3.0 EPSF-3.0, and a 
  2534.     bounding box comment,%%BoundingBox: llx lly urx ury, that 
  2535.     describes the bounds of the illustration. 
  2536.  
  2537.     (The specification does not require the EPSF version, but many 
  2538.     programs will reject a file that does not have it.) 
  2539.  
  2540.     The EPS program must not use operators that initialize or 
  2541.     permanently change the state of the machine in a manner that cannot 
  2542.     be undone by the enclosing application's use of save and restore 
  2543.     (eg. the operators starting with ``init'' like initgraphics). As a 
  2544.     special case, the EPS program may use the showpage operator. The 
  2545.     importing application is responsible for disabling the normal 
  2546.     effects of showpage. 
  2547.  
  2548.     The EPS program should make no environment-sensitive decisions (the 
  2549.     importing application may be trying to attain some special effect, 
  2550.     and the EPS program shouldn't screw this up), although it can use 
  2551.     some device-dependent tricks to improve appearance such as a 
  2552.     snap-to-pixel algorithm. 
  2553.  
  2554.     The complete EPS specification is available from Adobe (see the 
  2555.     section on Adobe). Read Appendix G (Document Structuring 
  2556.     Conventions, V3.0) and Appendix H (Encapsulated PostScript File 
  2557.     Format, V3.0) in the new PostScript red book: PostScript Language 
  2558.     Reference Manual, Second Edition. 
  2559.  
  2560.     An optional component of an EPS file is a ``preview'' image of the 
  2561.     file's content. The preview image is a bitmapped representation of 
  2562.     the image which may be displayed by programs using the EPS file 
  2563.     without having to actually interpret the PostScript code. 
  2564.  
  2565.     The recommended form for a preview image is ``Interchange'' format 
  2566.     and is described fully in the ``red book'', second edition. 
  2567.     Interchange format represents the image as a series of hex strings 
  2568.     placed in the EPS file as PostScript comments. The entire file 
  2569.     remains an ASCII file. 
  2570.  
  2571.     That book contains all of the information that you need to fix your 
  2572.     program to correctly output EPS. It is what I use for our software. 
  2573.  
  2574.     A variation of EPS embeds the preview image and PostScript text in 
  2575.     a binary file which contains a header and the preview image in 
  2576.     either a TIFF or MetaFile format. The header defines where in the 
  2577.     file each section (EPS, TIFF, or MetaFile) starts and ends. On the 
  2578.     Macintosh, the preview is stored as a PICT in the file's resource 
  2579.     fork. 
  2580.  
  2581.  
  2582. Subject: 9.2 What are EPSI and EPSF? 
  2583.  
  2584.     EPSI is EPS with a device independent bitmap preview. EPSI is an 
  2585.     all ASCII (no binary data or headers) version of EPS. EPSI provides 
  2586.     for a hexadecimal encoded preview representation of the image that 
  2587.     will be displayed or printed. 
  2588.  
  2589.     EPSF is a version of EPS with a TIFF preview instead of a bitmap 
  2590.     preview. 
  2591.  
  2592.  
  2593. Subject: 9.3 How do I convert PostScript to EPS? 
  2594.  
  2595.     Use pstoepsi, or do it by hand. 
  2596.  
  2597.     To convert from PostScript to EPS, one must guarantee that the 
  2598.     PostScript file meets the above requirements. If the actual program 
  2599.     conforms to the programming requirements, then one can simply add 
  2600.     the required comments at the top of the file saying that the file 
  2601.     is EPS and giving its BoundingBox dimensions. 
  2602.  
  2603.     Optional comments include font usage (%%DocumentFonts: or%% 
  2604.     DocumentNeededResources: font), EPSI preview comments (%% 
  2605.     Begin(End)Preview:) extensions (%%Extensions:) and language 
  2606.     level (%%LanguageLevel:). 
  2607.  
  2608.     There are some operators that should not be used within an EPS 
  2609.     file: 
  2610.  
  2611.   
  2612.           banddevice     cleardictstack   copypage     erasepage
  2613.           exitserver     framedevice      grestoreall  initclip
  2614.           initgraphics   initmatrix       quit         renderbands
  2615.           setglobal      setpagedevice    setshared    startjob
  2616.   
  2617.     These also include operators from statusdict and userdict operators 
  2618.     like legal, letter, a4, b5, etc. 
  2619.  
  2620.     There are some operators that should be carefully used: 
  2621.   
  2622.           nulldevice     setgstate        sethalftone  setmatrix
  2623.           setscreen      settransfer      undefinefont
  2624.   
  2625.     To convert a PostScript file to EPS format, you must edit the file 
  2626.     using a text editor or word processor to add lines that will define 
  2627.     the file as an EPS-format file. 
  2628.  
  2629.  
  2630.  
  2631.    1. Using your normal method of printing, print the PostScript file 
  2632.       to a PostScript printer. You can choose to view it on the screen 
  2633.       instead, but keep in mind that all the below distance 
  2634.       measurements assume that you are printing on a normal-sized piece 
  2635.       of paper. 
  2636.  
  2637.       NOTE: If the PostScript image does not get displayed properly, it 
  2638.       probably will not work either once you have converted it to EPS 
  2639.       format. Correct the PostScript program so that it works before 
  2640.       you convert it to EPS format. 
  2641.  
  2642.  
  2643.    2. Use a tool (see below) to find the bounding box, which shows how 
  2644.       much space the PostScript image occupies when printed. You 
  2645.       specify the dimensions of the bounding box when you convert the 
  2646.       PostScript file to EPS format. 
  2647.  
  2648.  
  2649.    3. If you don't have a bounding box tool, you can just use a ruler 
  2650.       and draw one on your printout. With two horizontal lines and two 
  2651.       vertical lines, draw a box around the image that includes the 
  2652.       entire image while minimizing white space. 
  2653.  
  2654.       This box represents your bounding box. You may want to leave a 
  2655.       small amount of white space around the image as a precautionary 
  2656.       measure against minor printing problems, such as paper stretching 
  2657.       and paper skewing. 
  2658.  
  2659.  
  2660.    4. Measure distance ``a'' from the lower-left corner of the image to 
  2661.       the left edge of the paper. 
  2662.  
  2663.  
  2664.    5. Write the measurement in points. If your ruler does not show 
  2665.       points, calculate the total number of points: 1 inch = 72 points, 
  2666. . Designate this 
  2667.       measurement as ``measurement a.'' 
  2668.  
  2669.  
  2670.    6. Measure distance ``b'' from the lower-left corner of the image to 
  2671.       the bottom edge of the paper. 
  2672.  
  2673.       Designate this measurement in points as ``measurement b.'' 
  2674.  
  2675.  
  2676.    7. Measure distance ``c'' from the upper-right corner of the image 
  2677.       to the left edge of the paper. 
  2678.  
  2679.       Designate this measurement in points as ``measurement c.'' 
  2680.  
  2681.  
  2682.    8. Measure distance ``d' from the upper-right corner of the image to 
  2683.       the bottom edge of the paper. 
  2684.  
  2685.       Designate this measurement in points as ``measurement d.'' 
  2686.  
  2687.  
  2688.    9. Using any text editor, open the PostScript file for editing. 
  2689.  
  2690.       You'll see several lines of text. These lines are the PostScript 
  2691.       description of the image. The lines at the top of the file are 
  2692.       the header. 
  2693.  
  2694.  
  2695.   10. Add these lines to, or modify existing lines in, the header (the 
  2696.       first group of lines in any PostScript file): 
  2697.  
  2698.     
  2699.             %!Adobe-2.0 EPSF
  2700.             %%Creator: name
  2701.             %%CreationDate: date
  2702.             %%Title: filename
  2703.             %%BoundingBox: a b c d
  2704.     
  2705.  
  2706.       Note: Make sure that the first line in the file is ``% 
  2707.       !Adobe-2.0 EPSF.'' Also, do not separate the header lines with a 
  2708.       blank line space. The first blank line that PostScript encounters 
  2709.       tells it that the the next line begins the body of the program. 
  2710.  
  2711.       For ``name,'' type your name or initials. For ``date,'' type 
  2712.       today's date using any format (for example, MM-DD-YY, MM/DD/YY, 
  2713.       July 5, 1987, and so on). For ``filename,'' type the name of the 
  2714.       PostScript file. After ``BoundingBox: ,'' type the measurements 
  2715.       you took in steps 3, 4, 5, and 6, separating each with a space: 
  2716.       ``a'' is the measurement from Step 3, ``b'' is the measurement 
  2717.       from Step 4, ``c'' is the measurement from Step 5, and ``d'' is 
  2718.       the measurement from Step 6. 
  2719.  
  2720.  
  2721.   11. Save the file in text-only format. 
  2722.  
  2723.     If you are interested in learning how to further edit your 
  2724.     PostScript files, these books are available at most bookstores: 
  2725.  
  2726.     Understanding PostScript Programming and the green book. 
  2727.  
  2728.     The Document Structuring Conventions (DSC), version 1.0, are 
  2729.     discussed in Appendix C of the old red book. The new red book has a 
  2730.     lot of information about Encapsulated PostScript. 
  2731.  
  2732.     There will be a technical note available from Adobe called 
  2733.     ``Guidelines for Specific Operators'' that will talk about why some 
  2734.     operators are prohibited and how to use the others. 
  2735.  
  2736.  
  2737. Subject: 9.4 How do I get the bounding box of a PostScript picture? 
  2738.  
  2739.     Use bbfig or epsinfo.ps. 
  2740.  
  2741.     Or if you would rather construct the bounding box by hand, use 
  2742.     Ghostview, which has a continuous readout of the mouse cursor in 
  2743.     the default user coordinate system. You simply place the mouse in 
  2744.     the corners of the figure and read off the coordinates. 
  2745.  
  2746. Subject: 10 About The Comp.Lang.PostScript FAQ (and Usenet Guide to 
  2747.     PostScript) 
  2748.  
  2749.  
  2750. Subject: 10.1 The PostScript FAQ: What is it? 
  2751.  
  2752.     The PostScript FAQ is a set of answers to frequently asked 
  2753.     questions (FAQs) that have appeared on the Usenet newsgroup 
  2754.     comp.lang.postscript. It is broken into many useful sections. 
  2755.  
  2756.     The Usenet Guide to PostScript is a larger set of help and answers 
  2757.     to PostScript questions, plus a tutorial for new users. It is still 
  2758.     in the process of being created. There is one file ``Exactly What 
  2759.     Does a Transformation Matrix Do?'', that is definitely not part of 
  2760.     the FAQ. Please send more! 
  2761.  
  2762.     I need help writing and revising answers for common questions 
  2763.     relating to PostScript. Almost all of the information in the 
  2764.     documents has been written by kind volunteers. The answers will be 
  2765.     published in either or both documents. A very long answer in the 
  2766.     Usenet Guide may be summarized, referred to briefly, or not 
  2767.     mentioned at all in the FAQ. 
  2768.  
  2769.  
  2770. Subject: 10.2 How to get the FAQ files 
  2771.  
  2772.     The FAQ is available by anonymous ftp to 
  2773.     wilma.cs.brown.edu:pub/comp.lang.postscript/ You can get it 
  2774.     formatted in plain text ASCII, LaTeX, or PostScript. 
  2775.  
  2776.     I would be happy to email a copy of the FAQ in any format to you if 
  2777.     you do not have FTP. 
  2778.  
  2779.  
  2780. Subject: 10.3 How to write a FAQ answer 
  2781.  
  2782.     I greatly appreciate your time and effort to help improve the 
  2783.     quality of the FAQ. Thank you for being willing to contribute! 
  2784.  
  2785.  
  2786.     * Please check to see if the topic is already in an FAQ. Perhaps 
  2787.       you really mean to submit a revision to an existing section. 
  2788.  
  2789.     * Start with a clear statement about what problem you are solving. 
  2790.  
  2791.     * Write for novice users, in ``tutorial format'', even if the 
  2792.       answer is meant for experienced programmers. 
  2793.  
  2794.     * Be specific when you make references. 
  2795.  
  2796.     * Be complete, and take the time to look over your draft and 
  2797.       revise. 
  2798.  
  2799.     * Answers should not be too wordy, unless you intend to write a 
  2800.       long answer for the Usenet Guide and have a shorter summary or a 
  2801.       pointer to the description placed in the FAQ. If you want to 
  2802.       write the summary yourself, thanks! 
  2803.  
  2804.     * Obviously, I cannot accept copyrighted material without 
  2805.       permission. Don't write the FAQ by paraphrasing from a 
  2806.       copyrighted book! 
  2807.  
  2808.  
  2809. Subject: 10.4 The FAQ can contain LaTeX and PostScript inserts 
  2810.  
  2811.     The FAQ is actually written with LaTeX, so feel free to submit with 
  2812.     that text formatting language. There is a PostScript version of the 
  2813.     FAQ also, so feel free to send along PostScript pictures to 
  2814.     include. 
  2815.  
  2816.  
  2817. Subject: 10.5 Revising the FAQ 
  2818.  
  2819.     Suggestions and comments are welcomed. My favorite way of receiving 
  2820.     a change suggestion is if you make a copy of the FAQ, edit the 
  2821.     copy, and mail me the modification, or a context diff (include the 
  2822.     version number). 
  2823.  
  2824.  
  2825. Subject: 10.6 How to submit new information 
  2826.  
  2827.     If you know something that you think is worthwhile to be put in a 
  2828.     FAQ, definitely send it to me! 
  2829.  
  2830.     Don't hold back if your information is very specific. If there's 
  2831.     too much information to post I will archive it at an ftp site and 
  2832.     place a pointer to it in the FAQ. 
  2833.  
  2834.  
  2835. Subject: 10.7 How to add a program description to the FAQ index 
  2836.  
  2837.     If the program is original, please send it to me, or tell me where 
  2838.     I can get it. Please put your name and email address at the top of 
  2839.     each file. Your program will be doubly useful if you clean up the 
  2840.     program so that other people can use it as an example to learn. 
  2841.  
  2842.     If the program was written by someone else, please send me just the 
  2843.     title, description, and where to get it. I may already have it. 
  2844.  
  2845.     For programs the FAQ needs to know: 
  2846.  
  2847.  
  2848.     * What is the name of the program? 
  2849.  
  2850.     * What does it claim to do, and does it do it well? Is it worth 
  2851.       using? 
  2852.  
  2853.     * Where is it available? What ftp sites can I get it from? 
  2854.  
  2855.     * How much does it cost? Is it free? 
  2856.  
  2857.     * What kinds of computers does it run on? 
  2858.  
  2859.     * Who is the author and does the author give an email address? 
  2860.  
  2861.     * Does it handle PostScript 2? 
  2862.  
  2863.     * What packages does it rely on? 
  2864.  
  2865.     If the program is a PostScript interpreter, then the FAQ also needs 
  2866.     to know: 
  2867.  
  2868.  
  2869.     * Does it let you go backwards one page? 
  2870.  
  2871.     * Does it display the number of pages in the document? 
  2872.  
  2873.     * Does it let you print PostScript to a non-PostScript printer? 
  2874.  
  2875.     * What formats can it convert to? 
  2876.  
  2877.  
  2878. Subject: 10.8 How to add a book description to the FAQ 
  2879.  
  2880.     For books the FAQ needs to know: 
  2881.  
  2882.  
  2883.     * What is the name of the book or document? 
  2884.  
  2885.     * What does it claim to do, and does it do it well? Is it worth 
  2886.       using? 
  2887.  
  2888.     * Can I get it on-line? 
  2889.  
  2890.     * Who wrote it? Does the author give an email address? 
  2891.  
  2892.     * Who is the publisher, and what is the copyright date? 
  2893.  
  2894.     * Does the publisher list an address and phone number or fax 
  2895.       number? 
  2896.  
  2897.     * What is the ISBN number of the book? 
  2898.  
  2899.     * What is the library call number of the book? 
  2900.  
  2901.     * How much does the book cost? 
  2902.  
  2903.     * Does it cover PostScript 2? 
  2904.  
  2905. onymous 
  2906.       ftp? 
  2907.  
  2908.     * Do the authors sell the coding examples on a diskette? 
  2909.  
  2910.  
  2911. Subject: 10.9 Questions that need answers 
  2912.  
  2913.  
  2914.  
  2915.    1. Where are ftp sites that have PostScript freeware? 
  2916.  
  2917.  
  2918.    2. What vendors sell fonts for PostScript printers? Where are the 
  2919.       free ftp sites for them? 
  2920.  
  2921.  
  2922.    3. Are there any free encapsulated PostScript converters? 
  2923.  
  2924.  
  2925.    4. What is the charter for comp.lang.postscript? 
  2926.  
  2927.  
  2928.    5. What questions should the FAQ have? 
  2929.  
  2930.  
  2931.    6. What book information is wrong or missing in the FAQ? 
  2932.  
  2933.  
  2934.    7. What program information is wrong or missing in the FAQ? 
  2935.  
  2936.  
  2937.    8. What ftp site have good examples of PostScript code? 
  2938.  
  2939.  
  2940.  
  2941. Newsgroups: comp.lang.postscript,comp.answers,news.answers
  2942. Path: bloom-beacon.mit.edu!news.media.mit.edu!uhog.mit.edu!sgiblab!brunix!doorknob.cs.brown.edu!jgm
  2943. From: Jonathan Monsarrat <postscript-request@cs.brown.edu>
  2944. Subject: PostScript monthly FAQ v2.2 12-26-93 [11 of 11]
  2945. Content-Type: text
  2946. Message-ID: <JGM.94Apr11234632@chekov.cs.brown.edu>
  2947. Followup-To: poster
  2948. Summary: Useful facts about the PostScript graphics programming language
  2949. Sender: news@cs.brown.edu
  2950. Supersedes: <JGM.93Apr16124153@vegas.cs.brown.edu>
  2951. Reply-To: postscript-request@cs.brown.edu (PostScript FAQ comments address)
  2952. Organization: Brown University Department of Computer Science
  2953. Mime-Version: 1.0
  2954. Date: Tue, 12 Apr 1994 04:46:32 GMT
  2955. Approved: news-answers-request@MIT.Edu
  2956. Expires: Thu, 12 May 1994 00:00:00 GMT
  2957. Lines: 613
  2958. Xref: bloom-beacon.mit.edu comp.lang.postscript:9153 comp.answers:4869 news.answers:17935
  2959.  
  2960. Archive-name: postscript/faq/part11
  2961. Last-modified: 1993/12/26
  2962. Version: 2.2
  2963.  
  2964.                               -- PostScript -- 
  2965.  
  2966.                             Answers to Questions 
  2967.  
  2968.                     (the comp.lang.postscript FAQ v2.2) 
  2969.  
  2970.                                Jon Monsarrat 
  2971.  
  2972.                               jgm@cs.brown.edu 
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.                      This FAQ is formatted as a digest. 
  2980.  
  2981.                 Most news readers can skip from one question 
  2982.  
  2983.                      to the next by pressing control-G. 
  2984.  
  2985.  
  2986.     Changes since the last version are marked with a '|' in the table 
  2987.     of contents and in the sections in the text-only format of the FAQ. 
  2988.  
  2989.     Now that there is Linux and NetBSD and BSD 386 UNIX IBM PC (and 
  2990.     clone) users can run any of the X-windows and UNIX programs in the 
  2991.     utilities section. See comp.os.linux. Also, there is now 
  2992.     GhostScript for the Macintosh. 
  2993.  
  2994.     Many thanks to Dan Carrigan for reformatting the books and 
  2995.     publishers section. 
  2996.  
  2997.     The utilities index from the comp.sources.postscript FAQ will be 
  2998.     posted in comp.lang.postscript now too. 
  2999.  
  3000.     Please help fix the FAQ! All comments should be mailed to 
  3001.     jgm@cs.brown.edu. My favorite way to receive a change suggestion is 
  3002.     when it is accompanied by a section of the FAQ that is edited and 
  3003.     mailed to me verbatim as an example. If you would like to 
  3004.     contribute, please read the section ``about the FAQ'' first. Thank 
  3005.     you! 
  3006.  
  3007.     Books and programs are referred to by name only. See the book 
  3008.     sections for book information, and the comp.sources.postscript FAQ 
  3009.     for a full list of all PostScript related programs. I have archived 
  3010.     a number of the small utilities in 
  3011.     wilma.cs.brown.edu:pub/postscript. You can get the 
  3012.     comp.sources.postscript FAQ from 
  3013.     wilma.cs.brown.edu:pub/comp.sources.postscript. 
  3014.  
  3015.     Related FAQs: comp.text, comp.text.tex, comp.fonts, comp.graphics, 
  3016.     comp.sys.mac.apps, comp.sources.postscript. 
  3017.  
  3018. Subject: 11 About PostScript 2 
  3019.  
  3020.  
  3021. Subject: 11.1 What printers support Level 2 PostScript? 
  3022.  
  3023.  
  3024.  
  3025.     * Apple LaserWriter IIf 
  3026.  
  3027.  
  3028.     * Apple LaserWriter IIg 
  3029.  
  3030.  
  3031.     * Apple LaserWriter Pro 600 (with ram upgrade to get 600 DPI) 
  3032.  
  3033.  
  3034.     * Apple LaserWriter Pro 630 (True 600 DPI) 
  3035.  
  3036.  
  3037.     * Apple Personal LaserWriter NTR 
  3038.  
  3039.       Apple sells an upgrade to the IINTX to turn it into a IIf/IIG for 
  3040.       instance. 
  3041.  
  3042.  
  3043.     * Compaq PAGEMARQ 20 
  3044.  
  3045.  
  3046.     * Compaq PAGEMARQ 15 
  3047.  
  3048.  
  3049.     * Data Products LZR 960 
  3050.  
  3051.  
  3052.     * Data Products LZR 1560 
  3053.  
  3054.  
  3055.     * DEClaser 1152 
  3056.  
  3057.  
  3058.     * Hewlett-Packard PostScript CartridgePlus, which works with the HP 
  3059.       Laserjet III, IIID, and IIIP. 
  3060.  
  3061.  
  3062.     * Hewlett-Packard LaserJet 4M 
  3063.  
  3064.  
  3065.     * NEC SilentWriter 95 
  3066.  
  3067.  
  3068.     * QMS 1725 Print System 
  3069.  
  3070.  
  3071.     * QMS 860 ``Hammerhead'' 
  3072.  
  3073.  
  3074.     * QMS ColorScript 210 and 230 
  3075.  
  3076.  
  3077.     * Tektronix Phaser III PXi 
  3078.  
  3079.  
  3080.     * Tektronix Phaser II (all models) 
  3081.  
  3082.  
  3083.     * Tektronix Phase 200e 
  3084.  
  3085.  
  3086.     * Texas Instruments microLaser Turbo 
  3087.  
  3088.  
  3089.     * Texas Instruments microLaser XL Turbo 
  3090.  
  3091.     This rest of file contains a description of PostScript 2 written by 
  3092.     Carl Orthlieb from Adobe. The text has not been changed, but some 
  3093.     paragraphs have been deleted for brevity. Comments by me are in 
  3094.     square brackets, and these were not written by Adobe. 
  3095.  
  3096.  
  3097. Subject: 11.2 What is PostScript Level 2? 
  3098.  
  3099.     Since its introduction in 1985, the PostScript language has been 
  3100.     considerably extended for greater programming power, efficiency, 
  3101.     and flexibility. 
  3102.  
  3103.     Typically, these language extensions have been designed to adapt 
  3104.     the PostScript language to new imaging technologies or system 
  3105.     environments. While these extensions have introduced new 
  3106.     functionality and flexibility to the language, the basic imaging 
  3107.     model remains unchanged. 
  3108.  
  3109.     PostScript Level 2 integrates the original PostScript language, all 
  3110.     previous language extensions, and new language features into the 
  3111.     core PostScript language imaging model. 
  3112.  
  3113.  
  3114. Subject: 11.3 [ Color Extensions ] 
  3115.  
  3116.     The color extensions were added to the language in 1988 to provide 
  3117.     more complete color functionality. With the original PostScript 
  3118.     language, color could be specified using the red-green-blue (RGB) 
  3119.     and hue-saturation-brightness (HSB) color models. 
  3120.  
  3121.     The color extensions include cyan-magenta-yellow-black (CMYK) color 
  3122.     model, black generation and undercolor removal functions, screen 
  3123.     and transfer functions for four separate color components, and a 
  3124.     colorimage operator for rendering color sampled images. The color 
  3125.     extensions are currently found in PostScript color printers from 
  3126.     Canon, QMS, Oce, and NEC as well as all implementations of the 
  3127.     Display PostScript system. 
  3128.  
  3129.  
  3130. Subject: 11.4 [ Composite Font Extensions ] 
  3131.  
  3132.     The composite font technology is a general solution that extends 
  3133.     the basic PostScript language font mechanism to enable the encoding 
  3134.     of very large character sets and handle non-horizontal writing 
  3135.     modes. 
  3136.  
  3137.     A Type 1 PostScript font has room for encoding only 256 distinct 
  3138.     characters. A typical Japanese font has over 7,000 Kanji, katakana 
  3139.     and hiragana characters. The composite font technology allows you 
  3140.     to create one ``composite'' font that is made up from any number of 
  3141.     ``base'' fonts. In addition, the composite font technology allows 
  3142.     you to include two sets of metrics (character spacing details) in 
  3143.     the font: one for a horizontal-writing mode, and one for a 
  3144.     vertical-writing mode. 
  3145.  
  3146.  
  3147. Subject: 11.5 [ Display PostScript Extensions ] 
  3148.  
  3149.     The Display PostScript extensions address the needs of using the 
  3150.     PostScript language imaging model in a display environment. It 
  3151.     includes extensions to deal specifically with displays and 
  3152.     windowing systems as well as many optimized operators to increase 
  3153.     performance which is critical in an interactive display environment 
  3154.     [ (and printers) ] . 
  3155.  
  3156.  
  3157. Subject: 11.6 [ Overview of Level 2 Features ] 
  3158.  
  3159.  
  3160. Subject: 11.7 Filters 
  3161.  
  3162.  
  3163.  
  3164.     * A filter transforms data as it is being read from or written to a 
  3165.       file. The language supports filters for ASCII encoding of binary 
  3166.       data, compression and decompression, and embedded subfiles. 
  3167.       Properly used, these filters reduce the storage and transmission 
  3168.       cost of page descriptions, especially ones containing sampled 
  3169.       images. Benefits: Reduced storage requirements, greater 
  3170.       performance. 
  3171.  
  3172.  
  3173.     * ASCII encoding of binary data: ASCII/85 (represent binary data in 
  3174.       ASCII format with only a 125 % expansion of data), and ASCII/HEX 
  3175.       (current method of representing binary data in ASCII format but 
  3176.       with a 200 % expansion of data). Benefits: Compact representation 
  3177.       of binary data in a portable ASCII representation. 
  3178.  
  3179.  
  3180.     * Compression and decompression filters: CCITT Group 3 & 4 
  3181.       (monochrome images), run-length encoding (monochrome and 
  3182.       grayscale images), LZW ( 2:1 compression of text files), DCT 
  3183.       (20-200:1 compression of color images using the proposed JPEG 
  3184.       standard). Benefits: Improved performance due to reduced 
  3185.       transmission times. PostScript files on disk can also be made 
  3186.       much smaller, saving disk space. 
  3187.  
  3188.  
  3189. Subject: 11.8 Binary Encoding 
  3190.  
  3191.  ax 
  3192.     includes two binary-encoded representations. These binary encodings 
  3193.     improve efficiency of generation, representation, and 
  3194.     interpretation. However, they are less portable than the ASCII 
  3195.     encoding and are suitable for use only in controlled environments. 
  3196.     Benefits: performance, compactness. 
  3197.  
  3198.  
  3199. Subject: 11.9 Optimized graphics operators 
  3200.  
  3201.  
  3202.  
  3203.     * Rectangle operators. New operators for filling, clipping and 
  3204.       stroking rectangles; all highly optimized. For example, rectfill 
  3205.       is 3 times faster than an equivalent moveto, lineto, lineto, 
  3206.       lineto, closepath, fill. Benefits: performance and convenience. 
  3207.  
  3208.  
  3209.     * Graphics state objects provide a fast way to switch between 
  3210.       graphics states, which define the current line weight, color, 
  3211.       font, etc. In existing printers, graphics states are stored on a 
  3212.       stack, so accessing an arbitrary graphics state is somewhat 
  3213.       cumbersome. With graphics state objects, the graphics state can 
  3214.       be associated with a name, and retrieved by simply requesting the 
  3215.       name. Benefits: Performance, convenience. 
  3216.  
  3217.  
  3218.     * Halftone specification. New halftone dictionaries provide a more 
  3219.       precise way of specifying the halftone dots, and makes switching 
  3220.       between halftone screens faster. (The spot function is not 
  3221.       reinterpreted.) Benefits: Performance, convenience, enhanced 
  3222.       functionality. 
  3223.  
  3224.  
  3225.     * User paths are self-contained procedures that consists entirely 
  3226.       of path construction operators and their coordinate operands. 
  3227.       User path operators perform path construction and painting as a 
  3228.       single operation; this is both convenient and efficient. There is 
  3229.       a user path cache to optimize interpretation of user paths that 
  3230.       are invoked repeatedly. Benefits: Performance, convenience. 
  3231.  
  3232.  
  3233.     * Stroke adjustment. For very thin lines, there is a trade-off 
  3234.       between perfect positioning and consistent line width. Depending 
  3235.       on the placement of such a line, it could end up being rendered 
  3236.       as either 1 or 2 pixels wide, which is a noticeable difference. 
  3237.       To account for this, PostScript language programs often include 
  3238.       logic to slightly alter the coordinates of lines for consistent 
  3239.       rendering. With automatic stroke adjustment the interpreter 
  3240.       performs this adjustment to ensure consistent widths. Doing it in 
  3241.       the interpreter rather than in the PostScript language program is 
  3242.       20 - 30 % faster. Benefits: Performance, convenience, improved 
  3243.       quality. 
  3244.  
  3245.  
  3246. Subject: 11.10 Optimized text operators 
  3247.  
  3248.  
  3249.  
  3250.     * The xyshow operator provides a more natural way for applications 
  3251.       to deal with individual character positioning. Allows 
  3252.       simultaneous track kerning, pair kerning, and justification. 
  3253.       Benefits: Performance, convenience. 
  3254.  
  3255.  
  3256.     * The selectfont operator optimizes switching between fonts. It 
  3257.       does the work of 3 Level 1 operators: findfont, scalefont, and 
  3258.       setfont and has been optimized by using a caching mechanism. 
  3259.       Benefits: Performance, convenience. 
  3260.  
  3261.  
  3262. Subject: 11.11 Forms 
  3263.  
  3264.  
  3265.  
  3266.     * A form is a self-contained description of any arbitrary graphics, 
  3267.       text, and sampled images that are to be painted multiple times on 
  3268.       each of several pages or several times at different locations on 
  3269.       a single page. 
  3270.  
  3271.  
  3272.     * With the new forms feature, you can define a base form whose 
  3273.       representation stays cached between pages, so only information 
  3274.       that changes between forms will need to be interpreted for each 
  3275.       page. The representation used to cache the form may vary from 
  3276.       device to device depending on the available resources, such as 
  3277.       memory and/or hard disk space. In some cases, the actual 
  3278.       rasterized form will be saved, in other cases, an intermediate 
  3279.       representation (such as a display list) may be saved. Benefits: 
  3280.       End-users will benefit by improved performance. 
  3281.  
  3282.  
  3283.     * This makes forms processing faster and provide a natural 
  3284.       framework for ISVs implementing a forms functionality in their 
  3285.       application. Benefits: Convenience for ISVs. 
  3286.  
  3287.  
  3288.     * Besides the traditional concept of ``forms,'' some other examples 
  3289.       of forms include: Letterhead, stationary, overhead presentation 
  3290.       backgrounds, repetitive symbols in a CAD drawing such as screws 
  3291.       (mechanical drawing) or windows (architectural drawing), complex 
  3292.       background blends in 35mm slides. Benefits: Enhanced 
  3293.       functionality and application of PostScript printers in a variety 
  3294.       of different environments. 
  3295.  
  3296.  
  3297. Subject: 11.12 Patterns 
  3298.  
  3299.  
  3300.  
  3301.     * The new pattern color space provides the ability to establish a 
  3302.       pattern as the current color. Subsequent use of operators such as 
  3303.       fill, stroke, and show apply ``paint'' that is produced by 
  3304.       replicating (or tiling) a small graphical figure called a pattern 
  3305.       cell at fixed intervals in x and y to cover the areas to be 
  3306.       painted. The appearance of a pattern cell is defined by a 
  3307.       PostScript language procedure, which can include any arbitrary 
  3308.       graphics, text, and sampled images. The shape of the pattern cell 
  3309.       need not be rectangular, and the spacing of tiles can differ from 
  3310.       the size of the pattern cell. Benefits: Enhanced functionality, 
  3311.       performance, convenience. 
  3312.  
  3313.  
  3314.     * For efficiency, the representation of the pattern cell may be 
  3315.       cached. When cached, the execution of the procedure that defines 
  3316.       the pattern need be done only once for the current pattern. The 
  3317.       pattern cache is similar to the font cache. Benefits: 
  3318.       Performance. 
  3319.  
  3320.  
  3321.     * Multiple colors can be specified in the pattern or the pattern 
  3322.       can be used as a mask to paint a color defined in some other 
  3323.       color space. Benefits: Enhanced functionality 
  3324.  
  3325.  
  3326.     * For display environments, this feature will allow patterns to be 
  3327.       represented in a resolution independent manner. Until now, 
  3328.       patterns have typically been represented by arrangements of 
  3329.       pixels. This resolution-dependent representation does not work 
  3330.       well when trying to image the pattern at a variety of different 
  3331.       resolutions. 
  3332.  
  3333.  
  3334. Subject: 11.13 Images 
  3335.  
  3336.     There are several enhancements to the facilities for painting 
  3337.     sampled images: use of any color space, 12-bit component values, 
  3338.     direct use of files as data sources, and additional decoding and 
  3339.     rendering options. Benefits: Convenience, performance, quality. 
  3340.  
  3341.  
  3342. Subject: 11.14 Composite Fonts 
  3343.  
  3344.  
  3345.  
  3346.     * Provides the basic machinery for non-Roman character sets. 
  3347.       Enables the encoding of very large character sets and 
  3348.       non-horizontal writing modes. Benefits: Enhanced functionality. 
  3349.  
  3350.  
  3351.     * Provides a page description language for international business. 
  3352.       Composite font technology makes printers more international. The 
  3353.       same font technology can be used worldwide, and will provide 
  3354.       support for companies that must work in today's international 
  3355.       business environment. Benefits: Enhanced functionality. 
  3356.  
  3357.  
  3358.     * Advantages not limited to foreign languages - also useful for 
  3359.       strictly Roman printers: allows the creation of a single 
  3360.       composite font that combines two or more fonts. For example, you 
  3361.       may wish to combine a textual font (such as Times-Roman) with a 
  3362.       graphical font (such as Zapf-Dingbats), and have all characters 
  3363.       at their disposal within a single font. Other uses of composite 
  3364.       fonts: IBM extended character set, and expert sets (such as Adobe 
  3365.       Garamond). Benefits: Enhanced functionality and increased 
  3366.       performance by minimizing switching between fonts. 
  3367.  
  3368.  
  3369. Subject: 11.15 New Color Spaces 
  3370.  
  3371.  
  3372.  
  3373.     * CMYK color model and support for color images. Enhanced 
  3374.       functionality. This will encourage more ISVs to use the color 
  3375.       operators, because the operators will be widely available (The 
  3376.       printer itself may not be able to print in color, but the 
  3377.       PostScript language program won't generate errors when the 
  3378.       operators for CMYK color are used.) 
  3379.  
  3380.  
  3381. s several device-independent color 
  3382.       spaces based on the CIE 1931 (XYZ)-space. CIE-based color 
  3383.       specification enables a page description to specify color in a 
  3384.       way that is related to human visual perception. The goal of the 
  3385.       CIE standard is that a given CIE-based color specification should 
  3386.       produce consistent results on different color output devices, 
  3387.       independent of variations in marking technology, ink colorants, 
  3388.       or screen phosphors. True device-independent color specification. 
  3389.       Improved color matching between devices. 
  3390.  
  3391.  
  3392.     * PostScript Level 2 supports three classes of color spaces: device 
  3393.       independent, special, and device dependent. 
  3394.  
  3395.     The following device independent color spaces are standard: 
  3396.  
  3397.     The CIEBasedABC color space is defined in terms of a two-stage, 
  3398.     non- linear transformation of the CIE 1931 (XYZ)-space. The 
  3399.     formulation of the CIEBasedABC color space models a simple zone 
  3400.     theory of color vision, consisting of a non-linear trichromatic 
  3401.     first stage combined with a non-linear opponent color second stage. 
  3402.     This formulation allows colors to be digitized with minimum loss of 
  3403.     fidelity; this is important in sample images. 
  3404.  
  3405.     Special cases of CIEBasedABC include a variety of interesting and 
  3406.     useful color spaces, such as the CIE 1931 (XYZ)-space, a class of 
  3407.     calibrated RGB spaces, a class of opponent color spaces such as the 
  3408.     CIE 1976 (L*a*b*)-space and the NTSC, SECAM, and PAL television 
  3409.     spaces. 
  3410.  
  3411.     The CIEBased A color space is a one-dimensional and usually 
  3412.     achromatic analog of CIEBasedABC. 
  3413.  
  3414.     The following special color spaces are standard: 
  3415.  
  3416.  
  3417.  
  3418.     * The Pattern color space enables painting with a ``color'' defined 
  3419.       as a pattern, a graphical figure used repeatedly to cover the 
  3420.       areas that are to be painted. See the discussion of patterns for 
  3421.       more information. 
  3422.  
  3423.  
  3424.     * The Indexed color space provides a way to map from small integers 
  3425.       to arbitrary colors in a different color space such as a device 
  3426.       independent color space. 
  3427.  
  3428.  
  3429.     * The Separation color space provides control over either the 
  3430.       production of a color separation or the application of a device 
  3431.       colorant, depending on the nature and configuration of the 
  3432.       device. 
  3433.  
  3434.     The following device dependent color spaces are standard: 
  3435.  
  3436.  
  3437.  
  3438.     * The DeviceGray color space is equivalent to the existing 
  3439.       PostScript language's gray color model. 
  3440.  
  3441.  
  3442.     * The DeviceRGB color space is equivalent to the existing 
  3443.       PostScript language's red-green-blue (RGB) color model. 
  3444.  
  3445.  
  3446.     * The DeviceCMYK color space is equivalent to the existing 
  3447.       PostScript language's cyan-magenta-yellow-black (CMYK) color 
  3448.       model. 
  3449.  
  3450.  
  3451. Subject: 11.16 New screening/halftoning technology 
  3452.  
  3453.  
  3454.  
  3455.     * Improved algorithms for determining the angles and frequencies 
  3456.       used for halftone screens. The improvements fall into two primary 
  3457.       categories: general improvements, and improvements specific to 
  3458.       color separations. 
  3459.  
  3460.  
  3461.     * General improvements: (1) The new algorithms yield a 10 % 
  3462.       improvement in the speed of the setscreen and image operators; 
  3463.       (2) Earlier version of PostScript software could produce halftone 
  3464.       screens only for certain angle and frequency combinations. Enough 
  3465.       of these combinations were available so that any requested screen 
  3466.       could be fairly well approximated by one of the available angle 
  3467.       and frequency combinations. In contrast, the improved halftoning 
  3468.       algorithms can provide as much as a ten-fold increase in the 
  3469.       number of angle-frequency combinations that are available, 
  3470.       depending on the device resolution and the available memory. 
  3471.       Benefits: Increased performance and higher quality halftone 
  3472.       screens. 
  3473.  
  3474.  
  3475.     * Improvements specific to color separations: An additional feature 
  3476.       is available that enables PostScript software to generate 
  3477.       extremely accurate screen angles and frequencies. The screens 
  3478.       produced by this method can achieve an angular accuracy of within 
  3479.       05 degrees or better, depending on such parameters as exact 
  3480.       screen angle requested, device resolution, and memory available 
  3481.       for use by the algorithm. Benefits: Extremely high-quality color 
  3482.       separations that approach the quality that previously was 
  3483.       available only from high-end, color electronic pre-press systems. 
  3484.  
  3485.  
  3486. Subject: 11.17 Improved printer support features 
  3487.  
  3488.  
  3489.  
  3490.     * Page device setup provides a device independent framework for 
  3491.       specifying the requirements of a page description and for 
  3492.       controlling both standard features, such as the number of copies, 
  3493.       and optional features, such as duplex printing, paper trays, 
  3494.       paper sizes, and other peripheral features. 
  3495.  
  3496.  
  3497.     * Applications developers will be able to write a single driver for 
  3498.       a variety of different PostScript printers. The same code can be 
  3499.       used to address printer specific features whether the features 
  3500.       exist in the printer or not. If the feature is not in the 
  3501.       printer, the application can decide how to best respond to the 
  3502.       lack of the feature. Benefits: Enhanced functionality. ISVs 
  3503.       benefit by having a more uniform method for accessing printer 
  3504.       specific features. End users benefit by having software that will 
  3505.       take advantage of their printer's features. 
  3506.  
  3507.  
  3508. Subject: 11.18 Interpreter parameters 
  3509.  
  3510.     Administrative operations, such as system configuration and 
  3511.     changing input-output device parameters, are now organized in a 
  3512.     more systematic way. Allocation of memory and other resources for 
  3513.     specific purposes is under software control. For example, there are 
  3514.     parameters controlling the maximum amount of memory to be used for 
  3515.     VM, font cache, pattern cache, and halftone screens. Benefits: 
  3516.     Flexibility. 
  3517.  
  3518.  
  3519. Subject: 11.19 Resources 
  3520.  
  3521.  
  3522.  
  3523.     * A resource is a collection of named objects that either reside in 
  3524.       VM or can be located and brought into VM on demand. There are 
  3525.       separate categories of resources with independent name spaces - 
  3526.       for example, fonts and forms are distinct resource categories. 
  3527.  
  3528.  
  3529.     * The language includes convenient facilities for locating and 
  3530.       managing resources. 
  3531.  
  3532.  
  3533. Subject: 11.20 Dictionaries 
  3534.  
  3535.     Many Level 2 operators expect a dictionary operand that contains 
  3536.     key-value pairs specifying parameters to the operator. Language 
  3537.     features controlled in this way include halftones, images, forms, 
  3538.     patterns, and device setup. This organization allows for optional 
  3539.     parameters and future extensibility. For convenience in using such 
  3540.     operators, the PostScript language syntax includes new tokens, 
  3541.   
  3542.   
  3543.    << and >>,
  3544.   
  3545.   
  3546.     to construct a dictionary containing the bracketed key-value pairs. 
  3547.     Benefits: Convenience, extensibility. 
  3548.  
  3549.  
  3550. Subject: 11.21 When did Level 2 products come available? 
  3551.  
  3552.     The first Level 2 products were available in early 1991. Level 2 
  3553.     printers will soon be much more common. 
  3554.  
  3555.  
  3556. Subject: 11.22 Are Level 1 and Level 2 implementations compatible? 
  3557.  
  3558.     [ Mostly, but not fully. The incompatibilities are of sufficient 
  3559.     magnitude that when QMS introduced its first Level 2 compatible 
  3560.     printer, it provided a ``Level 1'' mode for backward compatibility, 
  3561.     for handling jobs which wouldn't run in Level 2. This should not be 
  3562.     taken as too much of a criticism...some of the incom- patibilities 
  3563.     from Level 1 to Level 2 involved fixing design mistakes in Level 1, 
  3564.     or tightening up definitions which had been loose in Level 1 (where 
  3565.     careless application writers had made use of the looseness, writing 
  3566.     not to the language specification but to particular 
  3567.     implementations.) ] 
  3568.  
  3569.     (C) 1990 Adobe Systems Incorporated. All rights reserved. 
  3570.     PostScript, Display PostScript, and Adobe are trademarks of Adobe 
  3571.     Systems Incorporated registered in the U.S. All other product names 
  3572.     are trademarks or registered trademarks of their respective 
  3573.